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
1183                self::wp_fullscreen_html();
1184
1185           /**
1186            * Fires after any core TinyMCE editor instances are created.
1187            *
1188            * @since 3.2.0
1189            *
1190            * @param array $mce_settings TinyMCE settings array.
1191            */
1192           do_action( 'after_wp_tiny_mce', self::$mce_settings );
1193      }
1194
1195      public static function wp_fullscreen_html() {
1196           global $content_width;
1197           $post = get_post();
1198
1199           $width = isset( $content_width ) && 800 > $content_width ? $content_width : 800;
1200           $width = $width + 22; // compensate for the padding and border
1201           $dfw_width = get_user_setting( 'dfw_width', $width );