Returns the TinyMCE base URL.
Source
public static function get_baseurl() {
if ( empty( self::$baseurl ) ) {
self::$baseurl = includes_url( 'js/tinymce' );
}
return self::$baseurl;
}
Changelog
Version | Description |
---|---|
4.8.0 | Introduced. |
CARVIEW |
Returns the TinyMCE base URL.
public static function get_baseurl() {
if ( empty( self::$baseurl ) ) {
self::$baseurl = includes_url( 'js/tinymce' );
}
return self::$baseurl;
}
Uses | Description |
---|---|
includes_url()wp-includes/link-template.php | Retrieves the URL to the includes directory. |
Used by | Description |
---|---|
_WP_Editors::print_default_editor_scripts()wp-includes/class-wp-editor.php | Print (output) all editor scripts and default settings. |
_WP_Editors::editor_settings()wp-includes/class-wp-editor.php | |
_WP_Editors::wp_mce_translation()wp-includes/class-wp-editor.php | 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. |
_WP_Editors::editor_js()wp-includes/class-wp-editor.php | Print (output) the TinyMCE configuration and initialization scripts. |
Version | Description |
---|---|
4.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.