Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: before_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
1680                $mce_options .= $k . ':' . $v . ', ';
1681                continue;
1682           }
1683
1684           $mce_options .= $k . ':"' . $v . '", ';
1685      }
1686
1687      $mce_options = rtrim( trim($mce_options), '\n\r,' );
1688
1689      do_action('before_wp_tiny_mce', $initArray); ?>
1690
1691 <script type="text/javascript">
1692 /* <![CDATA[ */
1693 tinyMCEPreInit = {
1694      base : "<?php echo $baseurl; ?>",
1695      suffix : "",
1696      query : "<?php echo $version; ?>",
1697      mceInit : {<?php echo $mce_options; ?>},
1698      load_ext : function(url,lang){var sl=tinymce.ScriptLoader;sl.markDone(url+'/langs/'+lang+'.js');sl.markDone(url+'/langs/'+lang+'_dlg.js');}