saved_term

saved_term

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('saved_term') is found 2 times:

  • /wp-includes/taxonomy.php line 2739
    	 * @param string $taxonomy Taxonomy slug.
    	 * @param bool   $update   Whether this is an existing term being updated.
    	 * @param array  $args     Arguments passed to wp_insert_term().
    	 */
    	do_action( 'saved_term', $term_id, $tt_id, $taxonomy, false, $args );
    
    	/**
    	 * Fires after a term in a specific taxonomy has been saved, and the term
    	 * cache has been cleared.
    	 *
    	 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
    
  • /wp-includes/taxonomy.php line 3469
    	 */
    	do_action( "edited_{$taxonomy}", $term_id, $tt_id, $args );
    
    	/** This action is documented in wp-includes/taxonomy.php */
    	do_action( 'saved_term', $term_id, $tt_id, $taxonomy, true, $args );
    
    	/** This action is documented in wp-includes/taxonomy.php */
    	do_action( "saved_{$taxonomy}", $term_id, $tt_id, true, $args );
    
    	return array(
    		'term_id'          => $term_id,