_WP_Editors::get_baseurl(): string
- Since
- 4.8.0
- Source
wp-includes/class-wp-editor.php:1051
Returns the TinyMCE base URL.
Return
string
Uses · 1
- includes_url()Retrieves the URL to the includes directory.
Used by · 4
- _WP_Editors::editor_js()Print (output) the TinyMCE configuration and initialization scripts.
- _WP_Editors::editor_settings()
- _WP_Editors::print_default_editor_scripts()Print (output) all editor scripts and default settings.
- _WP_Editors::wp_mce_translation()Translates the default TinyMCE strings and returns them as JSON encoded object ready to be loaded with tinymce.addI18n(), or as JS snippet that should run after tinymce.js is loaded.
Source
public static function get_baseurl() { if ( empty( self::$baseurl ) ) { self::$baseurl = includes_url( 'js/tinymce' ); } return self::$baseurl; }History
Introduced in 4.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.8.8 tag, from
src/wp-includes/class-wp-editor.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.