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

Filters the text after it is formatted for the editor.

Description Description

Parameters Parameters


(string) The formatted text.


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

Top ↑

Source Source

File: wp-includes/formatting.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.