HTTP/2 301
server: nginx
date: Fri, 26 Dec 2025 14:31:10 GMT
content-type: text/html; charset=UTF-8
x-olaf: ⛄
vary: accept, content-type
x-redirect-by: WordPress
location: https://developer.wordpress.org/reference/classes/_wp_editors/print_tinymce_scripts/
x-frame-options: SAMEORIGIN
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
HTTP/2 200
server: nginx
date: Fri, 26 Dec 2025 14:31:11 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
vary: accept, content-type
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
_WP_Editors::print_tinymce_scripts() – Method | Developer.WordPress.org
WordPress Developer Resources
_WP_Editors::print_tinymce_scripts()
_WP_Editors::print_tinymce_scripts()
Print (output) the main TinyMCE scripts.
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";
}
View all references View on Trac View on GitHub
Version Description 4.8.0 Introduced.
User Contributed Notes
You must log in before being able to contribute a note or feedback.