format_to_edit хук-фильтр . WP 1.2.0
Filters the text to be formatted for editing.
Использование
add_filter( 'format_to_edit', 'filter_function_name_89' ); function filter_function_name_89( $content ){ // filter... return $content; }
- $content(строка)
- The text, prior to formatting for editing.
Список изменений
С версии 1.2.0 | Введена. |
Где вызывается хук
format_to_edit
wp-includes/formatting.php 2645
$content = apply_filters( 'format_to_edit', $content );