Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_code_editor_settings

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
3999       *     @type string   $file       Filename being edited.
4000       *     @type WP_Theme $theme      Theme being edited when on theme editor.
4001       *     @type string   $plugin     Plugin being edited when on plugin editor.
4002       *     @type array    $codemirror Additional CodeMirror setting overrides.
4003       *     @type array    $csslint    CSSLint rule overrides.
4004       *     @type array    $jshint     JSHint rule overrides.
4005       *     @type array    $htmlhint   JSHint rule overrides.
4006       * }
4007       */
4008      return apply_filters( 'wp_code_editor_settings', $settings, $args );
4009 }
4010
4011 /**
4012  * Retrieves the contents of the search WordPress query variable.
4013  *
4014  * The search query string is passed through esc_attr() to ensure that it is safe
4015  * for placing in an HTML attribute.
4016  *
4017  * @since 2.3.0