Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: after_wp_tiny_mce

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1721      if ( ! $compressed ) {
1722 ?>
1723 (function(){var t=tinyMCEPreInit,sl=tinymce.ScriptLoader,ln=t.mceInit.language,th=t.mceInit.theme,pl=t.mceInit.plugins;sl.markDone(t.base+'/langs/'+ln+'.js');sl.markDone(t.base+'/themes/'+th+'/langs/'+ln+'.js');sl.markDone(t.base+'/themes/'+th+'/langs/'+ln+'_dlg.js');tinymce.each(pl.split(','),function(n){if(n&&n.charAt(0)!='-'){sl.markDone(t.base+'/plugins/'+n+'/langs/'+ln+'.js');sl.markDone(t.base+'/plugins/'+n+'/langs/'+ln+'_dlg.js');}});})();
1724 <?php } ?>
1725 tinyMCE.init(tinyMCEPreInit.mceInit);
1726 /* ]]> */
1727 </script>
1728 <?php
1729
1730 do_action('after_wp_tiny_mce', $initArray);
1731 }
1732
1733 // Load additional inline scripts based on active plugins.
1734 function wp_preload_dialogs($init) {
1735      $plugins = preg_split('/[ ,-]+/', $init['plugins']);
1736
1737      if ( in_array( 'wpdialogs', $plugins, true ) ) {
1738           wp_print_scripts('wpdialogs-popup');
1739           wp_print_styles('wp-jquery-ui-dialog');