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 |
---|---|
1078 | <?php if ( strlen( $GLOBALS['post']->post_content ) ) : |
1079 | list($content_type, $content) = prep_atom_text_construct(get_the_content()); ?> |
1080 | <content type="<?php echo $content_type ?>"><?php echo $content ?></content> |
1081 | <?php endif; ?> |
1082 | <?php } ?> |
1083 | <link rel="edit" href="<?php $this->the_entry_url() ?>" /> |
1084 | <?php the_category_rss( 'atom' ); ?> |
1085 | <?php list($content_type, $content) = prep_atom_text_construct(get_the_excerpt()); ?> |
1086 | <summary type="<?php echo $content_type ?>"><?php echo $content ?></summary> |
1087 | <?php do_action('app_entry'); ?> |
1088 | </entry> |
1089 | <?php } |
1090 |
|
1091 | /** |
1092 | * Set 'OK' (200) status header. |
1093 | * |
1094 | * @since 2.2.0 |
1095 | */ |
1096 | function ok() { |