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 |
---|---|
129 | * |
130 | * - `category_term_edit_form_top` |
131 | * - `post_tag_term_edit_form_top` |
132 | * |
133 | * @since 4.5.0 |
134 | * |
135 | * @param WP_Term $tag Current taxonomy term object. |
136 | * @param string $taxonomy Current $taxonomy slug. |
137 | */ |
138 | do_action( "{$taxonomy}_term_edit_form_top", $tag, $taxonomy ); |
139 |
|
140 | $tag_name_value = ''; |
141 | if ( isset( $tag->name ) ) { |
142 | $tag_name_value = esc_attr( $tag->name ); |
143 | } |
144 | ?> |
145 | <table class="form-table" role="presentation"> |
146 | <tr class="form-field form-required term-name-wrap"> |
147 | <th scope="row"><label for="name"><?php _ex( 'Name', 'term name' ); ?></label></th> |