You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.
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 contextual to the current page. Since the REST API has no page context, what does this mean for the active callback? How should a completely REST API-driven Customizer obtain this? Or is the active prop it not relevant for REST API and the active value should instead be only obtained in the way it is currently when the preview loads and then exports the return values from PHP to JS?
The text was updated successfully, but these errors were encountered:
The
active_callback
defined on panels, sections, and controls is called when the preview loads and the boolean return value of the invokedactive_callback
indicates whether or not the construct is contextual to the current page. Since the REST API has no page context, what does this mean for theactive
callback? How should a completely REST API-driven Customizer obtain this? Or is theactive
prop it not relevant for REST API and theactive
value should instead be only obtained in the way it is currently when the preview loads and then exports the return values from PHP to JS?The text was updated successfully, but these errors were encountered: