wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_entity_fields_api_init › Hooks de Ações WordPress
Desde7.2.0
Obsoleton/a
› do_action( 'wp_entity_fields_api_init' )
| Definido em: | |
| 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`.Funções relacionadas: wp_update_entity_fields, _wp_preload_entity_fields, wp_register_entity_fields, wp_get_comment_fields_max_lengths, wp_required_field_indicator, wp_unregister_entity_fields
Hooks relacionados: wp_entity_actions_api_init, wp_abilities_api_init, wp_sitemaps_init, wp_tiny_mce_init, wp_get_comment_fields_max_lengths