format_to_edit

format_to_edit

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('format_to_edit') is found 1 times:

  • /wp-includes/formatting.php line 2746
    	 * @since 1.2.0
    	 *
    	 * @param string $content The text, prior to formatting for editing.
    	 */
    	$content = apply_filters( 'format_to_edit', $content );
    	if ( ! $rich_text ) {
    		$content = esc_textarea( $content );
    	}
    	return $content;
    }