Make WordPress Core


Ignore:
Timestamp:
12/13/2015 07:21:32 PM (10 years ago)
Author:
swissspidy
Message:

Docs: Improve documentation for format_for_editor() and the 'the_editor_content' filter it is hooked to.

Props AramZS for initial patch.
Fixes #34866.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r35660 r35904  
    262262         * @since 2.1.0
    263263         *
    264          * @param string $content Default editor content.
     264         * @param string $content        Default editor content.
     265         * @param string $default_editor The default editor for the current user.
     266         *                               Either 'html' or 'tinymce'.
    265267         */
    266268        $content = apply_filters( 'the_editor_content', $content, $default_editor );
Note: See TracChangeset for help on using the changeset viewer.