add_link_category_form_pre action-hookWP 2.3.0

Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. See (taxonomy)_pre_add_form.

Fires before the link category form.

Usage

add_action( 'add_link_category_form_pre', 'wp_kama_add_link_category_form_pre_action', 10, 2 );

/**
 * Function for `add_link_category_form_pre` action-hook.
 * 
 * @param object $arg    Optional arguments cast to an object.
 * @param        $string 
 *
 * @return void
 */
function wp_kama_add_link_category_form_pre_action( $arg, $string ){

	// action...
}
$arg(object)
Optional arguments cast to an object.
$string
-

Changelog

Since 2.3.0 Introduced.
Deprecated since 3.0.0 Use {@see '{$taxonomy}_pre_add_form'} instead.

Where the hook is called

In file: /wp-admin/edit-tags.php
add_link_category_form_pre
wp-admin/edit-tags.php 404
do_action_deprecated( 'add_link_category_form_pre', array( (object) array( 'parent' => 0 ) ), '3.0.0', '{$taxonomy}_pre_add_form' );

Where the hook is used in WordPress

Usage not found.