wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_entity_fields_api_init › Les Actions WordPress

Depuis7.2.0
Dépréciéen/a
› do_action( 'wp_entity_fields_api_init' )
Défini(e) dans:
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`.




Source

do_action( 'wp_entity_fields_api_init' );