(taxonomy)_term_edit_form_top action-hookWP 4.5.0

Fires at the beginning of the Edit Term form.

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.

Possible hook names include:

Usage

add_action( '(taxonomy)_term_edit_form_top', 'wp_kama_taxonomy_term_edit_form_top_action', 10, 2 );

/**
 * Function for `(taxonomy)_term_edit_form_top` action-hook.
 * 
 * @param WP_Term $tag      Current taxonomy term object.
 * @param string  $taxonomy Current $taxonomy slug.
 *
 * @return void
 */
function wp_kama_taxonomy_term_edit_form_top_action( $tag, $taxonomy ){

	// action...
}
$tag(WP_Term)
Current taxonomy term object.
$taxonomy(string)
Current $taxonomy slug.

Changelog

Since 4.5.0 Introduced.

Where the hook is called

In file: /wp-admin/edit-tag-form.php
(taxonomy)_term_edit_form_top
wp-admin/edit-tag-form.php 140
do_action( "{$taxonomy}_term_edit_form_top", $tag, $taxonomy );

Where the hook is used in WordPress

Usage not found.