print_default_editor_scripts
Fires when the editor scripts are loaded for later initialization, after all scripts and settings are printed.
Usage
add_action( 'print_default_editor_scripts', 'wp_kama_print_default_editor_scripts_action' );
/**
* Function for `print_default_editor_scripts` action-hook.
*
* @return void
*/
function wp_kama_print_default_editor_scripts_action(){
// action...
}Changelog
| Since 4.8.0 | Introduced. |
Where the hook is called
print_default_editor_scripts
wp-includes/class-wp-editor.php 1023
do_action( 'print_default_editor_scripts' );