Used By
Used By | Description |
---|---|
wp-includes/general-template.php: wp_get_code_editor_settings() | Generate and return code editor settings. |
Filters settings that are passed into the code editor.
Returning a falsey value will disable the syntax-highlighting code editor.
(array) The array of settings passed to the code editor. A falsey value disables the editor.
(array) Args passed when calling get_code_editor_settings()
.
(string) The MIME type of the file to be edited.
(string) Filename being edited.
(WP_Theme) Theme being edited when on theme editor.
(string) Plugin being edited when on plugin editor.
(array) Additional CodeMirror setting overrides.
(array) CSSLint rule overrides.
(array) JSHint rule overrides.
(array) JSHint rule overrides.
Version | Description |
---|---|
4.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_code_editor_settings