wp_enqueue_code_editor хук-событие . WP 4.9.0
Fires when scripts and styles are enqueued for the code editor.
Использование
add_action( 'wp_enqueue_code_editor', 'action_function_name_7655' ); function action_function_name_7655( $settings ){ // action... }
- $settings(массив)
- Settings for the enqueued code editor.
Список изменений
С версии 4.9.0 | Введена. |
Где вызывается хук
wp_enqueue_code_editor
wp-includes/general-template.php 3644
do_action( 'wp_enqueue_code_editor', $settings );