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 |
|---|---|
| 550 | * terms. Default 'name'. |
| 551 | * @type bool|int $hierarchical Whether to traverse the taxonomy |
| 552 | * hierarchy. Default 1. |
| 553 | * @type string $show_option_none Text to display for the "none" option. |
| 554 | * Default "— {$parent} —", |
| 555 | * where `$parent` is 'parent_item' |
| 556 | * taxonomy label. |
| 557 | * } |
| 558 | */ |
| 559 | $parent_dropdown_args = apply_filters( 'post_edit_category_parent_dropdown_args', $parent_dropdown_args ); |
| 560 | |
| 561 | wp_dropdown_categories( $parent_dropdown_args ); |
| 562 | ?> |
| 563 | <input type="button" id="<?php echo $tax_name; ?>-add-submit" data-wp-lists="add:<?php echo $tax_name; ?>checklist:<?php echo $tax_name; ?>-add" class="button category-add-submit" value="<?php echo esc_attr( $taxonomy->labels->add_new_item ); ?>" /> |
| 564 | <?php wp_nonce_field( 'add-' . $tax_name, '_ajax_nonce-add-' . $tax_name, false ); ?> |
| 565 | <span id="<?php echo $tax_name; ?>-ajax-response"></span> |
| 566 | </p> |
| 567 | </div> |
| 568 | <?php endif; ?> |