Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_editor ›

Desde3.3.0
Obsoleton/a
wp_editor ( $content, $editor_id, $settings = array() )
Parâmetros: (3)
  • (string) $content Initial content for the editor.
    Required: Yes
  • (string) $editor_id HTML ID attribute value for the textarea and TinyMCE. Can only be /[a-z]+/.
    Required: Yes
  • (array) $settings See _WP_Editors::editor().
    Required: No
    Padrão: array()
Ver:
  • _WP_Editors::editor()
Definido em:
Codex:


Fonte

function wp_editor( $content, $editor_id, $settings = array() ) {
	if ( ! class_exists( '_WP_Editors', false ) ) {
		require( ABSPATH . WPINC . '/class-wp-editor.php' );
	}
	_WP_Editors::editor( $content, $editor_id, $settings );
}