WPDev.one
Core Class

_WP_Editors

class _WP_Editors // Constructor: function Object() { [native code] }

Facilitates adding of the WordPress editor as used on the Write and Edit screens.

Methods 19 methods

Method / Return Description
__construct()
void

No description available.

parse_settings()
array

Parse default arguments for the editor instance.

Parameters: $editor_id: mixed, $settings: mixed
editor()
void

Outputs the HTML for a single instance of the editor.

Parameters: $content: mixed, $editor_id: mixed, $settings: mixed
editor_settings()
void

No description available.

Parameters: $editor_id: mixed, $set: mixed
_parse_init()
string

No description available.

Parameters: $init: mixed
enqueue_scripts()
void

No description available.

Parameters: $default_scripts: mixed
enqueue_default_editor()
void

Enqueue all editor scripts.

print_default_editor_scripts()
void

Print (output) all editor scripts and default settings.

get_mce_locale()
string

Returns the TinyMCE locale.

get_baseurl()
string

Returns the TinyMCE base URL.

default_settings()
array

Returns the default TinyMCE settings.

get_translation()
array

No description available.

wp_mce_translation()
string

Translates the default TinyMCE strings and returns them as JSON encoded object ready to be loaded with tinymce.addI18n(),

Parameters: $mce_locale: mixed, $json_only: mixed
force_uncompressed_tinymce()
void

Force uncompressed TinyMCE when a custom theme has been defined.

print_tinymce_scripts()
void

Print (output) the main TinyMCE scripts.

editor_js()
void

Print (output) the TinyMCE configuration and initialization scripts.

wp_fullscreen_html()
void

Outputs the HTML for distraction-free writing mode.

wp_link_query()
(array

Performs post queries for internal linking.

Parameters: $args: mixed
wp_link_dialog()
void

Dialog for internal linking.

Properties

Property / Type Description
$mce_locale
mixed
public
No description available.
$mce_settings
mixed
public
No description available.
$qt_settings
mixed
public
No description available.
$plugins
mixed
public
No description available.
$qt_buttons
mixed
public
No description available.
$ext_plugins
mixed
public
No description available.
$baseurl
mixed
public
No description available.
$first_init
mixed
public
No description available.
$this_tinymce
mixed
public
No description available.
$this_quicktags
mixed
public
No description available.
$has_tinymce
mixed
public
No description available.
$has_quicktags
mixed
public
No description available.
$has_medialib
mixed
public
No description available.
$editor_buttons_css
mixed
public
No description available.
$drag_drop_upload
mixed
public
No description available.
$translation
mixed
public
No description available.
$tinymce_scripts_printed
mixed
public
No description available.
$link_dialog_printed
mixed
public
No description available.

Class Information

Since Version
3.3.0 Private, not included by default. See wp_editor() in wp-includes/general-template.php.
Source File
wp-includes/class-wp-editor.php
Advertisement