category_pre_edit_form action-hookWP 3.0.0

Fires before the Edit Term form for all taxonomies.

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


add_action( 'category_pre_edit_form', 'wp_kama_category_pre_edit_form_action', 10, 2 );

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

	// action...
Current taxonomy term object.
Current $taxonomy slug.


Since 3.0.0 Introduced.

Where the hook is called

In file: /wp-admin/edit-tag-form.php
wp-admin/edit-tag-form.php 73
do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>

Where the hook is used in WordPress

Usage not found.