{$taxonomy}_term_edit_form_top

{$taxonomy}_term_edit_form_top

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('{$taxonomy}_term_edit_form_top') is found 1 times:

  • /wp-admin/edit-tag-form.php line 140
     *
     * @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 );
    }
    ?>