Function Reference/format to edit
Acts on text which is about to be edited.
Unless $richedit is set, it is simply a holder for the 'format_to_edit' filter. If $richedit is set true htmlspecialchars will be run on the content, converting special characters to HTML entities.
<?php format_to_edit( $content, $richedit ) ?>
- (string) (required) The text about to be edited.
- Default: None
- (boolean) (optional) Whether or not the $content should pass through htmlspecialchars.
- Default: false
- The text after the filter (and possibly htmlspecialchars.) has been run.
format_to_edit() is located in