wp_enqueue_code_editor WordPress Action Hook
The wp_enqueue_code_editor hook is used to load the code editor for a given file. This hook is typically used to add the code editor to a custom field or plugin settings page.
do_action( 'wp_enqueue_code_editor', array $settings ) #
Fires when scripts and styles are enqueued for the code editor.
Parameters
- $settings
(array)Settings for the enqueued code editor.
Source
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |