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
568
569           $ref = array(
570                'plugins' => implode( ',', self::$plugins ),
571                'theme' => 'advanced',
572                'language' => self::$mce_locale
573           );
574
575           $suffix = ( defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ) ? '_src' : '';
576
577           do_action('before_wp_tiny_mce', self::$mce_settings);
578 ?>
579
580      <script type="text/javascript">
581           tinyMCEPreInit = {
582                base : "<?php echo self::$baseurl; ?>",
583                suffix : "<?php echo $suffix; ?>",
584                query : "<?php echo $version; ?>",
585                mceInit : <?php echo $mceInit; ?>,
586                qtInit : <?php echo $qtInit; ?>,