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.7

apply_filters('wp_default_editor') is found 1 times:

  • /wp-includes/general-template.php line 3815
    	 * @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: