format_for_editor

format_for_editor

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('format_for_editor') is found 1 times:

  • /wp-includes/formatting.php line 4417
    	 * @param string $text           The formatted text.
    	 * @param string $default_editor The default editor for the current user.
    	 *                               It is usually either 'html' or 'tinymce'.
    	 */
    	return apply_filters( 'format_for_editor', $text, $default_editor );
    }
    
    /**
     * Performs a deep string replace operation to ensure the values in $search are no longer present.
     *
     * Repeats the replacement operation until it no longer replaces anything to remove "nested" values