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 |
|---|---|
| 993 | <?php if (isset($prev_page)): ?> |
| 994 | <link rel="previous" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($prev_page) ?>" /> |
| 995 | <?php endif; ?> |
| 996 | <?php if (isset($next_page)): ?> |
| 997 | <link rel="next" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($next_page) ?>" /> |
| 998 | <?php endif; ?> |
| 999 | <link rel="last" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($last_page) ?>" /> |
| 1000 | <link rel="self" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($self_page) ?>" /> |
| 1001 | <rights type="text">Copyright <?php echo date('Y'); ?></rights> |
| 1002 | <?php do_action('app_head'); ?> |
| 1003 | <?php if ( have_posts() ) { |
| 1004 | while ( have_posts() ) { |
| 1005 | the_post(); |
| 1006 | $this->echo_entry(); |
| 1007 | } |
| 1008 | } |
| 1009 | ?></feed> |
| 1010 | <?php |
| 1011 | $feed = ob_get_contents(); |