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 |
|---|---|
| 336 | |
| 337 | echo "<option$default value='" . esc_attr("$arc_row->yyear$arc_row->mmonth") . "'>"; |
| 338 | echo $wp_locale->get_month($arc_row->mmonth) . " $arc_row->yyear"; |
| 339 | echo "</option>\n"; |
| 340 | } |
| 341 | ?> |
| 342 | </select> |
| 343 | <?php endif; // month_count ?> |
| 344 | |
| 345 | <?php do_action('restrict_manage_posts'); ?> |
| 346 | |
| 347 | <input type="submit" id="post-query-submit" value="<?php esc_attr_e('Filter'); ?>" class="button-secondary" /> |
| 348 | |
| 349 | <?php } // ! is_singular ?> |
| 350 | |
| 351 | <?php |
| 352 | |
| 353 | } // ! empty( $orphans ) |
| 354 | |