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 |
---|---|
601 | </script> |
602 | <?php |
603 |
|
604 | if ( in_array('wplink', self::$plugins, true) || in_array('link', self::$qt_buttons, true) ) |
605 | self::wp_link_dialog(); |
606 |
|
607 | if ( in_array('wpfullscreen', self::$plugins, true) || in_array('fullscreen', self::$qt_buttons, true) ) |
608 | self::wp_fullscreen_html(); |
609 |
|
610 | do_action('after_wp_tiny_mce', self::$mce_settings); |
611 | } |
612 |
|
613 | public static function wp_fullscreen_html() { |
614 | global $content_width, $post; |
615 |
|
616 | $width = isset($content_width) && 800 > $content_width ? $content_width : 800; |
617 | $width = $width + 22; // compensate for the padding and border |
618 | $dfw_width = get_user_setting( 'dfw_width', $width ); |
619 | $save = isset($post->post_status) && $post->post_status == 'publish' ? __('Update') : __('Save'); |