edit_category_form
This action is documented in wp-admin/edit-tags.php.
Description
Parameters (1)
- 0. $tag (unknown)
- The tag.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'edit_category_form', $tag );
- The following example is for adding a hook callback.
- // define the edit_category_form callback
- function action_edit_category_form( $tag ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'edit_category_form', 'action_edit_category_form', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'edit_category_form', 'action_edit_category_form', 10, 1 );
Defined (2)
The action is defined in the following location(s).
- /wp-admin/edit-tag-form.php
- do_action( 'edit_category_form', $tag );
- /wp-admin/edit-tags.php
- do_action( 'edit_category_form', (object) array( 'parent' => 0 ) );