saved_{$taxonomy}

saved_{$taxonomy}

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('saved_{$taxonomy}') is found 2 times:

  • /wp-includes/taxonomy.php line 2768
    	 * @param int   $tt_id   Term taxonomy ID.
    	 * @param bool  $update  Whether this is an existing term being updated.
    	 * @param array $args    Arguments passed to wp_insert_term().
    	 */
    	do_action( "saved_{$taxonomy}", $term_id, $tt_id, false, $args );
    
    	return array(
    		'term_id'          => $term_id,
    		'term_taxonomy_id' => $tt_id,
    	);
    }
    
  • /wp-includes/taxonomy.php line 3478
    	/** 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,
    		'term_taxonomy_id' => $tt_id,
    	);
    }