Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: admin_enqueue_scripts

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
1293           if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post->post_type, 'post-formats' ) ) {
1294                $supports_formats = true;
1295
1296                if ( ! ( $post_format = get_post_format( $post_ID ) ) ) {
1297                     $post_format = 0;
1298                }
1299           }
1300
1301           /** This action is documented in wp-admin/admin-header.php */
1302           do_action( 'admin_enqueue_scripts', 'press-this.php' );
1303
1304           /** This action is documented in wp-admin/admin-header.php */
1305           do_action( 'admin_print_styles-press-this.php' );
1306
1307           /** This action is documented in wp-admin/admin-header.php */
1308           do_action( 'admin_print_styles' );
1309
1310           /** This action is documented in wp-admin/admin-header.php */
1311           do_action( 'admin_print_scripts-press-this.php' );