wphooks.info - {$taxonomy}_term_edit_form_top

{$taxonomy}_term_edit_form_top

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/edit-tag-form.php:
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
 *
 * At this point, the required hidden fields and nonces have already been output.
 *
 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
 *
 * @since 4.5.0
 *
 * @param WP_Term $tag      Current taxonomy term object.
 * @param string  $taxonomy Current $taxonomy slug.
 */
do_action( "{$taxonomy}_term_edit_form_top", $tag, $taxonomy );

$tag_name_value = '';
if ( isset( $tag->name ) ) {
	$tag_name_value = esc_attr( $tag->name );
}
?>
	<table class="form-table">
		<tr class="form-field form-required term-name-wrap">
			<th scope="row"><label for="name"><?php _ex( 'Name', 'term name' ); ?></label></th>