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 |
|---|---|
| 365 | <wp:tag><wp:term_id><?php echo $t->term_id ?></wp:term_id><wp:tag_slug><?php echo $t->slug; ?></wp:tag_slug><?php wxr_tag_name( $t ); ?><?php wxr_tag_description( $t ); ?></wp:tag> |
| 366 | <?php endforeach; ?> |
| 367 | <?php foreach ( $terms as $t ) : ?> |
| 368 | <wp:term><wp:term_id><?php echo $t->term_id ?></wp:term_id><wp:term_taxonomy><?php echo $t->taxonomy; ?></wp:term_taxonomy><wp:term_slug><?php echo $t->slug; ?></wp:term_slug><wp:term_parent><?php echo $t->parent ? $terms[$t->parent]->slug : ''; ?></wp:term_parent><?php wxr_term_name( $t ); ?><?php wxr_term_description( $t ); ?></wp:term> |
| 369 | <?php endforeach; ?> |
| 370 | <?php if ( 'all' == $args['content'] ) wxr_nav_menu_terms(); ?> |
| 371 | |
| 372 | <?php |
| 373 | /** This action is documented in wp-includes/feed-rss2.php */ |
| 374 | do_action( 'rss2_head' ); |
| 375 | ?> |
| 376 | |
| 377 | <?php if ( $post_ids ) { |
| 378 | global $wp_query; |
| 379 | |
| 380 | // Fake being in the loop. |
| 381 | $wp_query->in_the_loop = true; |
| 382 | |
| 383 | // Fetch 20 posts at a time rather than loading the entire table into memory. |