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 |
|---|---|
| 645 | </script> |
| 646 | <?php |
| 647 | |
| 648 | if ( in_array('wplink', self::$plugins, true) || in_array('link', self::$qt_buttons, true) ) |
| 649 | self::wp_link_dialog(); |
| 650 | |
| 651 | if ( in_array('wpfullscreen', self::$plugins, true) || in_array('fullscreen', self::$qt_buttons, true) ) |
| 652 | self::wp_fullscreen_html(); |
| 653 | |
| 654 | do_action('after_wp_tiny_mce', self::$mce_settings); |
| 655 | } |
| 656 | |
| 657 | public static function wp_fullscreen_html() { |
| 658 | global $content_width; |
| 659 | $post = get_post(); |
| 660 | |
| 661 | $width = isset($content_width) && 800 > $content_width ? $content_width : 800; |
| 662 | $width = $width + 22; // compensate for the padding and border |
| 663 | $dfw_width = get_user_setting( 'dfw_width', $width ); |