wp_enqueue_script tiny-mce not returning info.
-
I used
wp_enqueue_script('tiny_mce');
along with some other scripts such as jQuery and Thick Box… in the same spot, but the Tiny MCE JavaScript files did not get included in the source code.I want to know where I should call
wp_enqueue_script('tiny_mce');
so it includes the JavaScript files. I’ve done some looking and it looks like other people have modified the core files, but this will not do for me and my plugin. How can this problem be solved?I’ve tried including the script in a number of locations, including within a function called tinymce_code and using
$page = add_theme_page( 'Some Page', 'Some Page', 8, custom_page, custom_page );
add_action('admin_print_scripts-' . $page, 'tinymce_code');
- The topic ‘wp_enqueue_script tiny-mce not returning info.’ is closed to new replies.