WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )apply_filters( "hook_name", "what_to_filter" ).Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
| Line | Code |
|---|---|
| 669 | </script> |
| 670 | <?php |
| 671 | |
| 672 | if ( in_array('wplink', self::$plugins, true) || in_array('link', self::$qt_buttons, true) ) |
| 673 | self::wp_link_dialog(); |
| 674 | |
| 675 | if ( in_array('wpfullscreen', self::$plugins, true) || in_array('fullscreen', self::$qt_buttons, true) ) |
| 676 | self::wp_fullscreen_html(); |
| 677 | |
| 678 | do_action('after_wp_tiny_mce', self::$mce_settings); |
| 679 | } |
| 680 | |
| 681 | public static function wp_fullscreen_html() { |
| 682 | global $content_width; |
| 683 | $post = get_post(); |
| 684 | |
| 685 | $width = isset($content_width) && 800 > $content_width ? $content_width : 800; |
| 686 | $width = $width + 22; // compensate for the padding and border |
| 687 | $dfw_width = get_user_setting( 'dfw_width', $width ); |