Get options page
fabrement-get-options-pageOne options page (wp-admin → "Site General Settings"): its page settings (title, menu label, description, position, autoload), its fields with their names, its tabs (layout) and its revision. revision 0 = no such page yet. Call it before save-options-page (you need the revision and the existing fields) and before render code reads the page. Its values: get-field-values {options: slug}. Render code: fabrement_get_option('', ''). "problem" = the page's file is broken: nothing can be saved until the user fixes or removes wp-content/fabrement/fields/; tell them, do not recreate the fields. Rules: get-skill-doc {id:"options-contract"} — read it before the first call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The options page slug, e.g. "site", "header", "footer" (list-options-pages); a-z, 0-9, _ and -, no "__", at most 32. |