edit_link_category_form_pre
Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. See (taxonomy)_pre_edit_form.
Fires before the Edit Link Category form.
Usage
add_action( 'edit_link_category_form_pre', 'wp_kama_edit_link_category_form_pre_action', 10, 2 ); /** * Function for `edit_link_category_form_pre` action-hook. * * @param WP_Term $tag Current link category term object. * @param $string * * @return void */ function wp_kama_edit_link_category_form_pre_action( $tag, $string ){ // action... }
- $tag(WP_Term)
- Current link category term object.
- $string
- -
Changelog
Since 2.3.0 | Introduced. |
Deprecated since 3.0.0 | Use {@see '{$taxonomy}_pre_edit_form'} instead. |
Where the hook is called
In file: /wp-admin/edit-tag-form.php
edit_link_category_form_pre
wp-admin/edit-tag-form.php 34
do_action_deprecated( 'edit_link_category_form_pre', array( $tag ), '3.0.0', '{$taxonomy}_pre_edit_form' );