edit_category_form_fields
Deprecated since 3.0.0. It is no longer supported and may be removed in future releases. See (taxonomy)_edit_form_fields.
Fires after the Edit Category form fields are displayed.
Usage
add_action( 'edit_category_form_fields', 'wp_kama_edit_category_form_fields_action', 10, 2 );
/**
* Function for `edit_category_form_fields` action-hook.
*
* @param WP_Term $tag Current category term object.
* @param $string
*
* @return void
*/
function wp_kama_edit_category_form_fields_action( $tag, $string ){
// action...
}
- $tag(WP_Term)
- Current category term object.
- $string
- -
Changelog
| Since 2.9.0 | Introduced. |
| Deprecated since 3.0.0 | Use {@see '{$taxonomy}_edit_form_fields'} instead. |
Where the hook is called
In file: /wp-admin/edit-tag-form.php
edit_category_form_fields
wp-admin/edit-tag-form.php 221
do_action_deprecated( 'edit_category_form_fields', array( $tag ), '3.0.0', '{$taxonomy}_edit_form_fields' );