wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_entity_fields_api_init › WordPress Action Hooks

Seit7.2.0
Veraltetn/v
› do_action( 'wp_entity_fields_api_init' )
Definiert in:
Codex:

Fires the first time the registered fields are read, after `init`.

Register or adjust fields here, with wp_register_entity_fields(), wp_update_entity_fields(), and wp_unregister_entity_fields(): it is the only time they run. The first read happens wherever the fields are needed: while handling a REST request as well as on `admin_footer` of the pages that load the editor script. A callback should register fields and nothing else; script modules, styles, and their enqueue hooks belong on `init`.




Quellcode

do_action( 'wp_entity_fields_api_init' );