wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_entity_fields_api_init › WordPress Action Hooks

Da7.2.0
Deprecaton/a
› do_action( 'wp_entity_fields_api_init' )
Definito a:
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`.




Sorgenti

do_action( 'wp_entity_fields_api_init' );