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 |
---|---|
580 | </script> |
581 | <?php |
582 |
|
583 | if ( in_array('wplink', self::$plugins, true) || in_array('link', self::$qt_buttons, true) ) |
584 | self::wp_link_dialog(); |
585 |
|
586 | if ( in_array('wpfullscreen', self::$plugins, true) || in_array('fullscreen', self::$qt_buttons, true) ) |
587 | self::wp_fullscreen_html(); |
588 |
|
589 | do_action('after_wp_tiny_mce', self::$mce_settings); |
590 | } |
591 |
|
592 | public static function wp_fullscreen_html() { |
593 | global $content_width, $post; |
594 |
|
595 | $width = isset($content_width) && 800 > $content_width ? $content_width : 800; |
596 | $width = $width + 22; // compensate for the padding and border |
597 | $dfw_width = get_user_setting( 'dfw_width', $width ); |
598 | $save = isset($post->post_status) && $post->post_status == 'publish' ? __('Update') : __('Save'); |