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 |
|---|---|
| 202 | |
| 203 | /** |
| 204 | * Display the email of the author of the current post. |
| 205 | * |
| 206 | * @link http://codex.wordpress.org/Template_Tags/the_author_email |
| 207 | * @since 0.71 |
| 208 | * @uses get_the_author_email() |
| 209 | */ |
| 210 | function the_author_email() { |
| 211 | echo apply_filters('the_author_email', get_the_author_email() ); |
| 212 | } |
| 213 | |
| 214 | /** |
| 215 | * Retrieve the URL to the home page of the author of the current post. |
| 216 | * |
| 217 | * @since 1.5 |
| 218 | * @uses $authordata The current author's DB object. |
| 219 | * @return string The URL to the author's page. |
| 220 | */ |