Tag Info

Hot answers tagged


You will need to set the third parameter of wp_register_script(), which is the dependency parameter, $deps. In your code, this is currently set to false, which should actually just be left out or set to an empty array, array() if not needed. In your case, you will set this with the handle of the script you would wish to make it depended on. You can add more ...


With help from a colleague, we dug through class-wp-editor.php Here are the necessary scripts to initialise jQuery tinyMCE if wp_editor has not been used beforehand (which calls these scripts). // Get the necessary scripts to launch tinymce $baseurl = includes_url( 'js/tinymce' ); $cssurl = includes_url('css/'); global $tinymce_version, ...

Only top voted, non community-wiki answers of a minimum length are eligible