WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp richedit pre

Description

Formats text for the rich text editor.

The filter 'richedit_pre' is applied here. If $text is empty the filter will be applied to an empty string.

Usage

<?php wp_richedit_pre$text ?>

Parameters

$text
(string) (required) The text to be formatted.
Default: None

Return Values

(string) 
The formatted text after filter is applied.

Examples

Notes

Change Log

Since: 2.0.0

Source File

wp_richedit_pre() is located in wp-includes/formatting.php.

Related

See also index of Function Reference and index of Template Tags.