wp-api-customize-endpoints
wp-api-customize-endpoints copied to clipboard
Legacy experimental WP REST API endpoints for the Customizer
One use case in Customize Posts plugin is to fetch the settings for dynamic settings on demand. The `customize-posts-fetch-settings` admin ajax request takes a `post_ids` param and then returns the...
The `get_item` methods for settings and partials should succeed even if there is no setting or partial registered for the given ID, if that ID matches the filters for `customize_dynamic_setting_args`...
The `active_callback` defined on panels, sections, and controls is called when the preview loads and the boolean return value of the invoked `active_callback` indicates whether or not the construct is...
Panels, sections, and controls have methods for rendering the control's markup or a template for client-side rendering. How should these get expressed in the REST API endpoints? Should they be...
I suppose this would be the ultimate verification that the new endpoints are complete, if we can replace the admin-ajax calls with REST API calls. It's probably not something that...
See: * https://core.trac.wordpress.org/ticket/38707#comment:17 * https://wordpress.slack.com/archives/C02RQC26G/p1491369854606383