wp_default_editor

wp_default_editor

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('wp_default_editor') is found 1 times:

  • /wp-includes/general-template.php line 3943
    3939
    3940
    3941
    3942
    3943
    3944
    3945
    3946
    3947
    3948
    3949
         * @since 2.5.0
         *
         * @param string $r Which editor should be displayed by default. Either 'tinymce', 'html', or 'test'.
         */
        return apply_filters( 'wp_default_editor', $r );
    }
     
    /**
     * Renders an editor.
     *
     * Using this function is the proper way to output all needed components for both TinyMCE and Quicktags.

See this hook used in plugins: