the_editor_content, $content, $default_editor

the_editor_content, $content, $default_editor

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('the_editor_content, $content, $default_editor') is found 1 times:

  • /wp-includes/class-wp-editor.php line 289
    		 * @param string $content        Default editor content.
    		 * @param string $default_editor The default editor for the current user.
    		 *                               Either 'html' or 'tinymce'.
    		 */
    		$content = apply_filters( 'the_editor_content', $content, $default_editor );
    
    		// Remove the filter as the next editor on the same page may not need it.
    		if ( self::$this_tinymce ) {
    			remove_filter( 'the_editor_content', 'format_for_editor' );
    		}