Filter hook 'format_for_editor'

in WP Core File wp-includes/formatting.php at line 4405

Description

Filters the text after it is formatted for the editor.

Occurrences

Filename Line Number
wp-includes/formatting.php 4405

Parameters

Type Name Description
string $text The formatted text.
string $default_editor The default editor for the current user. It is usually either 'html' or 'tinymce'.

PHP Doc

/**
	 * Filters the text after it is formatted for the editor.
	 *
	 * @since 4.3.0
	 *
	 * @param string $text           The formatted text.
	 * @param string $default_editor The default editor for the current user.
	 *                               It is usually either 'html' or 'tinymce'.
	 */