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 |
|---|---|
| 1085 | <?php if (isset($prev_page)): ?> |
| 1086 | <link rel="previous" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($prev_page) ?>" /> |
| 1087 | <?php endif; ?> |
| 1088 | <?php if (isset($next_page)): ?> |
| 1089 | <link rel="next" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($next_page) ?>" /> |
| 1090 | <?php endif; ?> |
| 1091 | <link rel="last" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($last_page) ?>" /> |
| 1092 | <link rel="self" type="<?php echo $this->ATOM_CONTENT_TYPE ?>" href="<?php $this->the_entries_url($self_page) ?>" /> |
| 1093 | <rights type="text">Copyright <?php echo date('Y'); ?></rights> |
| 1094 | <?php do_action('app_head'); ?> |
| 1095 | <?php if ( have_posts() ) { |
| 1096 | while ( have_posts() ) { |
| 1097 | the_post(); |
| 1098 | $this->echo_entry(); |
| 1099 | } |
| 1100 | } |
| 1101 | ?></feed> |
| 1102 | <?php |
| 1103 | $feed = ob_get_contents(); |