Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: in_admin_header

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
140 <img id="header-logo" src="<?php echo esc_url( includes_url( 'images/blank.gif' ) ); ?>" alt="" width="16" height="16" />
141 <h1 id="site-heading" <?php echo $title_class ?>>
142      <a href="<?php echo trailingslashit( get_bloginfo( 'url' ) ); ?>" title="<?php esc_attr_e('Visit Site') ?>">
143           <span id="site-title"><?php echo $blog_name ?></span>
144      </a>
145 </h1>
146
147 <?php
148
149 do_action('in_admin_header');
150
151 $links = array();
152
153 // Generate user profile and info links.
154 $links[5] = sprintf( __('Howdy, %1$s'), $user_identity );
155
156 $links[8] = '<a href="profile.php" title="' . esc_attr__('Edit your profile') . '">' . __('Your Profile') . '</a>';
157
158 if ( is_multisite() && is_super_admin() ) {