W3cubDocs

/WordPress

_WP_Editors::get_baseurl()

Returns the TinyMCE base URL.

Return

(string)

Source

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

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.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/_wp_editors/get_baseurl