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
59
60 /**
61  * Filters the title tag content for an admin page.
62  *
63  * @since 3.1.0
64  *
65  * @param string $admin_title The page title, with extra context added.
66  * @param string $title       The original page title.
67  */
68 $admin_title = apply_filters( 'admin_title', $admin_title, $title );
69
70 wp_user_settings();
71
72 _wp_admin_html_begin();
73 ?>
74 <title><?php echo esc_html( $admin_title ); ?></title>
75 <?php
76
77 wp_enqueue_style( 'colors' );