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 |
---|---|
1173 | <?php if ( strlen( $GLOBALS['post']->post_content ) ) : |
1174 | list($content_type, $content) = prep_atom_text_construct(get_the_content()); ?> |
1175 | <content type="<?php echo $content_type ?>"><?php echo $content ?></content> |
1176 | <?php endif; ?> |
1177 | <?php } ?> |
1178 | <link rel="edit" href="<?php $this->the_entry_url() ?>" /> |
1179 | <?php the_category_rss( 'atom' ); ?> |
1180 | <?php list($content_type, $content) = prep_atom_text_construct(get_the_excerpt()); ?> |
1181 | <summary type="<?php echo $content_type ?>"><?php echo $content ?></summary> |
1182 | <?php do_action('app_entry'); ?> |
1183 | </entry> |
1184 | <?php } |
1185 |
|
1186 | /** |
1187 | * Set 'OK' (200) status header. |
1188 | * |
1189 | * @since 2.2.0 |
1190 | */ |
1191 | function ok() { |