Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: extra_theme_headers

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
3113           'AuthorURI' => $theme->display('AuthorURI', true, false),
3114           'Version' => $theme->get('Version'),
3115           'Template' => $theme->get('Template'),
3116           'Status' => $theme->get('Status'),
3117           'Tags' => $theme->get('Tags'),
3118           'Title' => $theme->get('Name'),
3119           'AuthorName' => $theme->get('Author'),
3120      );
3121
3122      foreach ( apply_filters( 'extra_theme_headers', array() ) as $extra_header ) {
3123           if ( ! isset( $theme_data[ $extra_header ] ) )
3124                $theme_data[ $extra_header ] = $theme->get( $extra_header );
3125      }
3126
3127      return $theme_data;
3128 }
3129
3130 /**
3131  * Alias of update_post_cache().