edit_category_form
Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. See (taxonomy)_add_form.
Fires at the end of the Edit Category form.
Usage
add_action( 'edit_category_form', 'wp_kama_edit_category_form_action', 10, 2 ); /** * Function for `edit_category_form` action-hook. * * @param object $arg Optional arguments cast to an object. * @param $string * * @return void */ function wp_kama_edit_category_form_action( $arg, $string ){ // action... }
- $arg(object)
- Optional arguments cast to an object.
- $string
- -
Changelog
Since 2.1.0 | Introduced. |
Deprecated since 3.0.0 | Use {@see '{$taxonomy}_add_form'} instead. |
Where the hook is called
In file: /wp-admin/edit-tags.php
edit_category_form
wp-admin/edit-tags.php 565
do_action_deprecated( 'edit_category_form', array( (object) array( 'parent' => 0 ) ), '3.0.0', '{$taxonomy}_add_form' );
wp-admin/edit-tag-form.php 261
do_action_deprecated( 'edit_category_form', array( $tag ), '3.0.0', '{$taxonomy}_add_form' );