edited_term_taxonomy

edited_term_taxonomy

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('edited_term_taxonomy') is found 3 times:

  • /wp-includes/taxonomy.php line 3395
    	 * @param int    $tt_id    Term taxonomy ID.
    	 * @param string $taxonomy Taxonomy slug.
    	 * @param array  $args     Arguments passed to wp_update_term().
    	 */
    	do_action( 'edited_term_taxonomy', $tt_id, $taxonomy, $args );
    
    	/**
    	 * Fires after a term has been updated, but before the term cache has been cleaned.
    	 *
    	 * The {@see 'edit_$taxonomy'} hook is also available for targeting a specific
    	 * taxonomy.
    
  • /wp-includes/taxonomy.php line 4180
    		do_action( 'edit_term_taxonomy', $term, $taxonomy->name );
    		$wpdb->update( $wpdb->term_taxonomy, compact( 'count' ), array( 'term_taxonomy_id' => $term ) );
    
    		/** This action is documented in wp-includes/taxonomy.php */
    		do_action( 'edited_term_taxonomy', $term, $taxonomy->name );
    	}
    }
    
    /**
     * Updates term count based on number of objects.
     *
    
  • /wp-includes/taxonomy.php line 4207
    		do_action( 'edit_term_taxonomy', $term, $taxonomy->name );
    		$wpdb->update( $wpdb->term_taxonomy, compact( 'count' ), array( 'term_taxonomy_id' => $term ) );
    
    		/** This action is documented in wp-includes/taxonomy.php */
    		do_action( 'edited_term_taxonomy', $term, $taxonomy->name );
    	}
    }
    
    /**
     * Creates a new term for a term_taxonomy item that currently shares its term
     * with another term_taxonomy.