wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_entity_actions_api_init › Hooks de Ações WordPress

Desde7.2.0
Obsoleton/a
› do_action( 'wp_entity_actions_api_init' )
Definido em:
Codex:

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

Register or remove actions here, with wp_register_entity_actions() and wp_unregister_entity_actions(): it is the only time they run. The first read happens wherever the actions 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 actions and nothing else; script modules, styles, and their enqueue hooks belong on `init`.




Fonte

do_action( 'wp_entity_actions_api_init' );