edit_terms

This action is documented in wp-includes/taxonomy.php.

Description

do_action( 'edit_terms', (unknown) $term_id, (unknown) $taxonomy ); 

Parameters (2)

0. $term_id (unknown)
The term id.
1. $taxonomy (unknown)
The taxonomy.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'edit_terms', $term_id, $taxonomy ); 
The following example is for adding a hook callback.
  1. // define the edit_terms callback 
  2. function action_edit_terms( $term_id, $taxonomy ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'edit_terms', 'action_edit_terms', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'edit_terms', 'action_edit_terms', 10, 2 ); 

Defined (2)

The action is defined in the following location(s).

/wp-includes/taxonomy.php  
  1. do_action( 'edit_terms', $term_id, $taxonomy ); 
  1. do_action( 'edit_terms', $term_id, $taxonomy );