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 |
|---|---|
| 3016 | 'AuthorURI' => $theme->display('AuthorURI', true, false), |
| 3017 | 'Version' => $theme->get('Version'), |
| 3018 | 'Template' => $theme->get('Template'), |
| 3019 | 'Status' => $theme->get('Status'), |
| 3020 | 'Tags' => $theme->get('Tags'), |
| 3021 | 'Title' => $theme->get('Name'), |
| 3022 | 'AuthorName' => $theme->get('Author'), |
| 3023 | ); |
| 3024 | |
| 3025 | foreach ( apply_filters( 'extra_theme_headers', array() ) as $extra_header ) { |
| 3026 | if ( ! isset( $theme_data[ $extra_header ] ) ) |
| 3027 | $theme_data[ $extra_header ] = $theme->get( $extra_header ); |
| 3028 | } |
| 3029 | |
| 3030 | return $theme_data; |
| 3031 | } |
| 3032 | |
| 3033 | /** |
| 3034 | * Alias of update_post_cache(). |