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 |
|---|---|
| 162 | echo "<option$default value='$arc_row->yyear$arc_row->mmonth'>"; |
| 163 | echo $wp_locale->get_month($arc_row->mmonth) . " $arc_row->yyear"; |
| 164 | echo "</option>\n"; |
| 165 | } |
| 166 | ?> |
| 167 | </select> |
| 168 | <?php } ?> |
| 169 | |
| 170 | <?php wp_dropdown_categories('show_option_all='.__('View all categories').'&hide_empty=1&hierarchical=1&show_count=1&selected='.$cat);?> |
| 171 | <?php do_action('restrict_manage_posts'); ?> |
| 172 | <input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" /> |
| 173 | |
| 174 | <?php } ?> |
| 175 | </div> |
| 176 | |
| 177 | <br class="clear" /> |
| 178 | </div> |
| 179 | |
| 180 | <br class="clear" /> |