WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
119 | <?php do_action('in_admin_header'); ?> |
120 |
|
121 | <div id="wphead-info"> |
122 | <div id="user_info"> |
123 | <p><?php |
124 | $links = array(); |
125 | $links[5] = sprintf(__('Howdy, <a href="%1$s" title="Edit your profile">%2$s</a>'), 'profile.php', $user_identity); |
126 | $links[15] = '| <a href="' . wp_logout_url() . '" title="' . __('Log Out') . '">' . __('Log Out') . '</a>'; |
127 |
|
128 | $links = apply_filters('admin_user_info_links', $links, $current_user); |
129 | ksort($links); |
130 |
|
131 | echo implode(' ', $links); |
132 | ?></p> |
133 | </div> |
134 |
|
135 | <?php favorite_actions($current_screen); ?> |
136 | </div> |
137 | </div> |