wp_enqueue_code_editor action-hookWP 4.9.0

Fires when scripts and styles are enqueued for the code editor.

Usage

add_action( 'wp_enqueue_code_editor', 'wp_kama_enqueue_code_editor_action' );

/**
 * Function for `wp_enqueue_code_editor` action-hook.
 * 
 * @param array $settings Settings for the enqueued code editor.
 *
 * @return void
 */
function wp_kama_enqueue_code_editor_action( $settings ){

	// action...
}
$settings(array)
Settings for the enqueued code editor.

Changelog

Since 4.9.0 Introduced.

Where the hook is called

wp_enqueue_code_editor()
wp_enqueue_code_editor
wp-includes/general-template.php 3917
do_action( 'wp_enqueue_code_editor', $settings );

Where the hook is used in WordPress

Usage not found.