wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
_wp_add_entity_action_modules_to_editor_script is private and should not be used in themes or plugins directly.
_wp_add_entity_action_modules_to_editor_script › WordPress Function
Depuis7.2.0
Dépréciéen/a
› _wp_add_entity_action_modules_to_editor_script ( $scripts = null )
| Accès: |
|
| Paramètres: |
|
| Défini(e) dans: |
|
| Codex: |
Declares the script modules of the entity actions as dependencies of the editor script, see _wp_add_entity_modules_to_editor_script().
The actions are loaded byusePostActions() of the editor script, so every
screen showing them loads it.
The admin_footer action passes it no argument, so the global registry is
used. In other scenarios (tests), the scripts are given directly.