Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: admin_title

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
47
48 /**
49  * Filter the title tag content for an admin page.
50  *
51  * @since 3.1.0
52  *
53  * @param string $admin_title The page title, with extra context added.
54  * @param string $title       The original page title.
55  */
56 $admin_title = apply_filters( 'admin_title', $admin_title, $title );
57
58 wp_user_settings();
59
60 _wp_admin_html_begin();
61 ?>
62 <title><?php echo $admin_title; ?></title>
63 <?php
64
65 wp_enqueue_style( 'colors' );