category_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.

This is one of the variants of the dynamic hook (taxonomy)_term_edit_form_top

Usage

add_action( 'category_term_edit_form_top', 'wp_kama_category_term_edit_form_top_action', 10, 2 );

/**
 * Function for `category_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_category_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
category_term_edit_form_top
wp-admin/edit-tag-form.php 138
do_action( "{$taxonomy}_term_edit_form_top", $tag, $taxonomy );

Where the hook is used in WordPress

Usage not found.