wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_entity_fields_api_init › WordPress Action Hooks

Since7.2.0
Deprecatedn/a
› do_action( 'wp_entity_fields_api_init' )
Defined at:
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' );