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
35
36 /**
37  * Filter the <title> content for an admin page.
38  *
39  * @since 3.1.0
40  *
41  * @param string $admin_title The page title, with extra context added.
42  * @param string $title       The original page title.
43  */
44 $admin_title = apply_filters( 'admin_title', $admin_title, $title );
45
46 wp_user_settings();
47
48 _wp_admin_html_begin();
49 ?>
50 <title><?php echo $admin_title; ?></title>
51 <?php
52
53 wp_enqueue_style( 'colors' );