_WP_Editors::print_tinymce_scripts

Advertisement

Summery Summery

Print (output) the main TinyMCE scripts.

Syntax Syntax

_WP_Editors::print_tinymce_scripts()

Source Source

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

		}

		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";
	}

	/**
	 * Print (output) the TinyMCE configuration and initialization scripts.
	 *
	 * @since 3.3.0

Advertisement

Changelog Changelog

Changelog
Version Description
4.8.0 Introduced.

Advertisement

Leave a Reply