edited_terms, $term_id, $taxonomy
edited_terms, $term_id, $taxonomy
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('edited_terms, $term_id, $taxonomy') is found 1 times:
- /wp-includes/taxonomy.php line 2609
do_action( 'edit_terms', $term_id, $taxonomy ); $wpdb->update( $wpdb->terms, compact( 'slug' ), compact( 'term_id' ) ); /** This action is documented in wp-includes/taxonomy.php */ do_action( 'edited_terms', $term_id, $taxonomy ); } $tt_id = $wpdb->get_var( $wpdb->prepare( "SELECT tt.term_taxonomy_id FROM $wpdb->term_taxonomy AS tt INNER JOIN $wpdb->terms AS t ON tt.term_id = t.term_id WHERE tt.taxonomy = %s AND t.term_id = %d", $taxonomy, $term_id ) ); if ( ! empty( $tt_id ) ) { return array(