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
1228                self::wp_fullscreen_html();
1229
1230           /**
1231            * Fires after any core TinyMCE editor instances are created.
1232            *
1233            * @since 3.2.0
1234            *
1235            * @param array $mce_settings TinyMCE settings array.
1236            */
1237           do_action( 'after_wp_tiny_mce', self::$mce_settings );
1238      }
1239
1240      public static function wp_fullscreen_html() {
1241           global $content_width;
1242           $post = get_post();
1243
1244           $width = isset( $content_width ) && 800 > $content_width ? $content_width : 800;
1245           $width = $width + 22; // compensate for the padding and border
1246           $dfw_width = get_user_setting( 'dfw_width', $width );