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