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