apply_filters( 'format_for_editor', string $text, string $default_editor )

Filters the text after it is formatted for the editor.


Parameters

$text

(string) The formatted text.

$default_editor

(string) The default editor for the current user. It is usually either 'html' or 'tinymce'.


Source

File: wp-includes/formatting.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.3.0 Introduced.