WordPress at a glance
filter is not described

format_for_editor filter-hook . WP 4.3.0

Filters the text after it is formatted for the editor.


add_filter( 'format_for_editor', 'filter_function_name_8839', 10, 2 );
function filter_function_name_8839( $text, $default_editor ){
	// filter...

	return $text;
The formatted text.
The default editor for the current user. It is usually either 'html' or 'tinymce'.

Where the hook is called

wp-includes/formatting.php 4114
return apply_filters( 'format_for_editor', $text, $default_editor );

Where the hook is used (in WP core)

Использование не найдено.