fields_get_schema
Fetch the editor form schema for a chosen definition kind before creating or updating field groups, post types, taxonomies, or options pages.
Instructions
Editor form schema of one definition kind (fields and their options). Read it before fields_create_definition / fields_update_definition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Definition kind: field groups, post types, taxonomies or options pages | |
| site | Yes | Site id (see list_sites) |