Title: wp-includes/class-wp-editor.php | Developer.WordPress.org

---

# File: wp-includes/class-wp-editor.php

 * method[_WP_Editors::force_uncompressed_tinymce()](https://developer.wordpress.org/reference/classes/_wp_editors/force_uncompressed_tinymce/)
 * Force uncompressed TinyMCE when a custom theme has been defined.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/_wp_editors/force_uncompressed_tinymce/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/_wp_editors/force_uncompressed_tinymce/#uses)
   | Source: [wp-includes/class-wp-editor.php:1525](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1525-L1542)
 * method[_WP_Editors::print_tinymce_scripts()](https://developer.wordpress.org/reference/classes/_wp_editors/print_tinymce_scripts/)
 * Print (output) the main TinyMCE scripts.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/_wp_editors/print_tinymce_scripts/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/_wp_editors/print_tinymce_scripts/#uses)
   | Source: [wp-includes/class-wp-editor.php:1551](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1551-L1567)
 * method[_WP_Editors::enqueue_default_editor()](https://developer.wordpress.org/reference/classes/_wp_editors/enqueue_default_editor/)
 * Enqueue all editor scripts.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/_wp_editors/enqueue_default_editor/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/classes/_wp_editors/enqueue_default_editor/#uses)
   | Source: [wp-includes/class-wp-editor.php:908](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L908-L926)
 * method[_WP_Editors::print_default_editor_scripts()](https://developer.wordpress.org/reference/classes/_wp_editors/print_default_editor_scripts/)
 * Print (output) all editor scripts and default settings.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/_wp_editors/print_default_editor_scripts/#used-by)
   | Uses [8 functions](https://developer.wordpress.org/reference/classes/_wp_editors/print_default_editor_scripts/#uses)
   | Source: [wp-includes/class-wp-editor.php:934](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L934-L1026)
 * hook[print_default_editor_scripts](https://developer.wordpress.org/reference/hooks/print_default_editor_scripts/)
 * Fires when the editor scripts are loaded for later initialization, after all 
   scripts and settings are printed.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/print_default_editor_scripts/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/print_default_editor_scripts/#uses)
   | Source: [wp-includes/class-wp-editor.php:1023](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1023-L1023)
 * method[_WP_Editors::get_mce_locale()](https://developer.wordpress.org/reference/classes/_wp_editors/get_mce_locale/)
 * Returns the TinyMCE locale.
 * Used by [3 functions](https://developer.wordpress.org/reference/classes/_wp_editors/get_mce_locale/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/_wp_editors/get_mce_locale/#uses)
   | Source: [wp-includes/class-wp-editor.php:1035](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1035-L1042)
 * method[_WP_Editors::get_baseurl()](https://developer.wordpress.org/reference/classes/_wp_editors/get_baseurl/)
 * Returns the TinyMCE base URL.
 * Used by [4 functions](https://developer.wordpress.org/reference/classes/_wp_editors/get_baseurl/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/_wp_editors/get_baseurl/#uses)
   | Source: [wp-includes/class-wp-editor.php:1051](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1051-L1057)
 * method[_WP_Editors::default_settings()](https://developer.wordpress.org/reference/classes/_wp_editors/default_settings/)
 * Returns the default TinyMCE settings.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/_wp_editors/default_settings/#used-by)
   | Uses [5 functions](https://developer.wordpress.org/reference/classes/_wp_editors/default_settings/#uses)
   | Source: [wp-includes/class-wp-editor.php:1069](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1069-L1129)
 * method[_WP_Editors::get_translation()](https://developer.wordpress.org/reference/classes/_wp_editors/get_translation/)
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/_wp_editors/get_translation/#used-by)
   | Uses [2 functions](https://developer.wordpress.org/reference/classes/_wp_editors/get_translation/#uses)
   | Source: [wp-includes/class-wp-editor.php:1136](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1136-L1453)
 * hook[wp_editor_settings](https://developer.wordpress.org/reference/hooks/wp_editor_settings/)
 * Filters the wp_editor() settings.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/wp_editor_settings/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_editor_settings/#uses)
   | Source: [wp-includes/class-wp-editor.php:83](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L83-L83)
 * hook[before_wp_tiny_mce](https://developer.wordpress.org/reference/hooks/before_wp_tiny_mce/)
 * Fires immediately before the TinyMCE settings are printed.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/before_wp_tiny_mce/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/before_wp_tiny_mce/#uses)
   | Source: [wp-includes/class-wp-editor.php:1620](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1620-L1620)
 * hook[wp_tiny_mce_init](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/)
 * Fires after tinymce.js is loaded, but before any TinyMCE editor instances are
   created.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_tiny_mce_init/#uses)
   | Source: [wp-includes/class-wp-editor.php:1659](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1659-L1659)
 * hook[after_wp_tiny_mce](https://developer.wordpress.org/reference/hooks/after_wp_tiny_mce/)
 * Fires after any core TinyMCE editor instances are created.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/after_wp_tiny_mce/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/after_wp_tiny_mce/#uses)
   | Source: [wp-includes/class-wp-editor.php:1745](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1745-L1745)
 * method[_WP_Editors::wp_fullscreen_html()](https://developer.wordpress.org/reference/classes/_wp_editors/wp_fullscreen_html/)
 * Outputs the HTML for distraction-free writing mode.
 * Used by [0 functions](https://developer.wordpress.org/reference/classes/_wp_editors/wp_fullscreen_html/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/classes/_wp_editors/wp_fullscreen_html/#uses)
   | Source: [wp-includes/class-wp-editor.php:1754](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1754-L1756)
 * method[_WP_Editors::wp_link_query()](https://developer.wordpress.org/reference/classes/_wp_editors/wp_link_query/)
 * Performs post queries for internal linking.
 * Used by [1 function](https://developer.wordpress.org/reference/classes/_wp_editors/wp_link_query/#used-by)
   | Uses [9 functions](https://developer.wordpress.org/reference/classes/_wp_editors/wp_link_query/#uses)
   | Source: [wp-includes/class-wp-editor.php:1781](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1781-L1861)
 * hook[wp_link_query_args](https://developer.wordpress.org/reference/hooks/wp_link_query_args/)
 * Filters the link query arguments.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_link_query_args/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_link_query_args/#uses)
   | Source: [wp-includes/class-wp-editor.php:1813](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1813-L1813)
 * hook[wp_link_query](https://developer.wordpress.org/reference/hooks/wp_link_query/)
 * Filters the link query results.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_link_query/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_link_query/#uses)
   | Source: [wp-includes/class-wp-editor.php:1858](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1858-L1858)
 * method[_WP_Editors::wp_link_dialog()](https://developer.wordpress.org/reference/classes/_wp_editors/wp_link_dialog/)
 * Dialog for internal linking.
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/_wp_editors/wp_link_dialog/#used-by)
   | Uses [3 functions](https://developer.wordpress.org/reference/classes/_wp_editors/wp_link_dialog/#uses)
   | Source: [wp-includes/class-wp-editor.php:1868](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L1868-L1948)
 * hook[tiny_mce_plugins](https://developer.wordpress.org/reference/hooks/tiny_mce_plugins/)
 * Filters the list of default TinyMCE plugins.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/tiny_mce_plugins/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/tiny_mce_plugins/#uses)
   | Source: [wp-includes/class-wp-editor.php:461](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L461-L461)
 * hook[mce_external_languages](https://developer.wordpress.org/reference/hooks/mce_external_languages/)
 * Filters the translations loaded for external TinyMCE 3.x plugins.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/mce_external_languages/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/mce_external_languages/#uses)
   | Source: [wp-includes/class-wp-editor.php:489](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L489-L489)
 * hook[mce_css](https://developer.wordpress.org/reference/hooks/mce_css/)
 * Filters the comma-delimited list of stylesheets to load in TinyMCE.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/mce_css/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/mce_css/#uses)
   | Source: [wp-includes/class-wp-editor.php:600](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L600-L600)
 * hook[teeny_mce_buttons](https://developer.wordpress.org/reference/hooks/teeny_mce_buttons/)
 * Filters the list of teenyMCE buttons (Code tab).
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/teeny_mce_buttons/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/teeny_mce_buttons/#uses)
   | Source: [wp-includes/class-wp-editor.php:638](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L638-L638)
 * hook[mce_buttons](https://developer.wordpress.org/reference/hooks/mce_buttons/)
 * Filters the first-row list of TinyMCE buttons (Visual tab).
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/mce_buttons/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/mce_buttons/#uses)
   | Source: [wp-includes/class-wp-editor.php:680](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L680-L680)
 * hook[mce_buttons_2](https://developer.wordpress.org/reference/hooks/mce_buttons_2/)
 * Filters the second-row list of TinyMCE buttons (Visual tab).
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/mce_buttons_2/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/mce_buttons_2/#uses)
   | Source: [wp-includes/class-wp-editor.php:709](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L709-L709)
 * hook[mce_buttons_3](https://developer.wordpress.org/reference/hooks/mce_buttons_3/)
 * Filters the third-row list of TinyMCE buttons (Visual tab).
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/mce_buttons_3/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/mce_buttons_3/#uses)
   | Source: [wp-includes/class-wp-editor.php:721](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L721-L721)
 * hook[mce_buttons_4](https://developer.wordpress.org/reference/hooks/mce_buttons_4/)
 * Filters the fourth-row list of TinyMCE buttons (Visual tab).
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/mce_buttons_4/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/mce_buttons_4/#uses)
   | Source: [wp-includes/class-wp-editor.php:733](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L733-L733)
 * hook[teeny_mce_before_init](https://developer.wordpress.org/reference/hooks/teeny_mce_before_init/)
 * Filters the teenyMCE config before init.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/teeny_mce_before_init/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/teeny_mce_before_init/#uses)
   | Source: [wp-includes/class-wp-editor.php:804](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L804-L804)
 * hook[tiny_mce_before_init](https://developer.wordpress.org/reference/hooks/tiny_mce_before_init/)
 * Filters the TinyMCE config before init.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/tiny_mce_before_init/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/tiny_mce_before_init/#uses)
   | Source: [wp-includes/class-wp-editor.php:817](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L817-L817)
 * method[_WP_Editors::_parse_init()](https://developer.wordpress.org/reference/classes/_wp_editors/_parse_init/)
 * Used by [2 functions](https://developer.wordpress.org/reference/classes/_wp_editors/_parse_init/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/classes/_wp_editors/_parse_init/#uses)
   | Source: [wp-includes/class-wp-editor.php:835](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L835-L855)
 * hook[the_editor_content](https://developer.wordpress.org/reference/hooks/the_editor_content/)
 * Filters the default editor content.
 * Used by [2 functions](https://developer.wordpress.org/reference/hooks/the_editor_content/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/the_editor_content/#uses)
   | Source: [wp-includes/class-wp-editor.php:289](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/class-wp-editor.php#L289-L289)

1 [2](https://developer.wordpress.org/reference/file/wp-includes/class-wp-editor.php/page/2/?output_format=md)

 [Next Page](https://developer.wordpress.org/reference/file/wp-includes/class-wp-editor.php/page/2/?output_format=md)