add_category_form_pre

add_category_form_pre

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-5.3.2

do_action('add_category_form_pre') is found 1 times:

  • /wp-admin/edit-tags.php line 381
    		 * @deprecated 3.0.0 Use {$taxonomy}_pre_add_form instead.
    		 *
    		 * @param object $arg Optional arguments cast to an object.
    		 */
    		do_action( 'add_category_form_pre', (object) array( 'parent' => 0 ) );
    	} elseif ( 'link_category' == $taxonomy ) {
    		/**
    		 * Fires before the link category form.
    		 *
    		 * @since 2.3.0
    		 * @deprecated 3.0.0 Use {$taxonomy}_pre_add_form instead.