Definition:
function wp_htmledit_pre($output) {}
Formats text for the HTML editor.
Unless $output is empty it will pass through htmlspecialchars before the ‘htmledit_pre’ filter is applied.
Parameters
- string $output: The text to be formatted.
Return values
returns:Formatted text after filter applied.
Defined filters
- htmledit_pre
apply_filters('htmledit_pre', $output)
Source code
function wp_htmledit_pre($output) {
if ( !empty($output) )
$output = htmlspecialchars($output, ENT_NOQUOTES); // convert only < > &
return apply_filters('htmledit_pre', $output);
}
3765

February 12, 2011 


No comments yet... Be the first to leave a reply!