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
670           </script>
671           <?php
672
673           if ( in_array('wplink', self::$plugins, true) || in_array('link', self::$qt_buttons, true) )
674                self::wp_link_dialog();
675
676           if ( in_array('wpfullscreen', self::$plugins, true) || in_array('fullscreen', self::$qt_buttons, true) )
677                self::wp_fullscreen_html();
678
679           do_action('after_wp_tiny_mce', self::$mce_settings);
680      }
681
682      public static function wp_fullscreen_html() {
683           global $content_width;
684           $post = get_post();
685
686           $width = isset($content_width) && 800 > $content_width ? $content_width : 800;
687           $width = $width + 22; // compensate for the padding and border
688           $dfw_width = get_user_setting( 'dfw_width', $width );