WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about edit_terms

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/taxonomy.php do_action 2508 /**
* Filters term data before it is inserted into the database.
*
* @since 4.7.0
*
* @param array $data Term data to be inserted.
* @param string $taxonomy Taxonomy slug.
* @param array $args Arguments passed to wp_insert_term().
*/
wp-includes/taxonomy.php do_action 3257 /**
* Fires immediately before the given terms are edited.
*
* @since 2.9.0
* @since 6.1.0 The `$args` parameter was added.
*
* @param int $term_id Term ID.
* @param string $taxonomy Taxonomy slug.
* @param array $args Arguments passed to wp_update_term().
*/

Hook Parameters

Parameter Type Name Description