WordPress at a glance
function is not described

_WP_Editors::print_tinymce_scripts() public WP 4.8.0

Print (output) the main TinyMCE scripts.

{} It's a method of the class: _WP_Editors{}

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.

Return

null. Null. Nothing.

Usage

$result = _WP_Editors::print_tinymce_scripts();

Notes

  • Global. true|false. $concatenate_scripts

Changelog

Since 4.8.0 Introduced.

Code of _WP_Editors::print_tinymce_scripts() WP 5.7

<?php
public static function print_tinymce_scripts() {
	global $concatenate_scripts;

	if ( self::$tinymce_scripts_printed ) {
		return;
	}

	self::$tinymce_scripts_printed = true;

	if ( ! isset( $concatenate_scripts ) ) {
		script_concat_settings();
	}

	wp_print_scripts( array( 'wp-tinymce' ) );

	echo "<script type='text/javascript'>\n" . self::wp_mce_translation() . "</script>\n";
}