format_for_editor

最后更新于:2021-11-26 10:07:38

apply_filters( ‘format_for_editor’, string $text, string $default_editor )

Filters the text after it is formatted for the editor.

参数

$text

(string)
The formatted text.

$default_editor

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

源文件

文件: gc-includes/formatting.php

View on Trac