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.


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More