Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/taxonomy.php | do_action | 3303 | /** * Fires immediate before a term-taxonomy relationship is updated. * * @since 2.9.0 * @since 6.1.0 The `$args` parameter was added. * * @param int $tt_id Term taxonomy ID. * @param string $taxonomy Taxonomy slug. * @param array $args Arguments passed to wp_update_term(). */ |
wp-includes/taxonomy.php | do_action | 4097 | /** * Filters the post statuses for updating the term count. * * @since 5.7.0 * * @param string[] $post_statuses List of post statuses to include in the count. Default is 'publish'. * @param WP_Taxonomy $taxonomy Current taxonomy object. */ |
wp-includes/taxonomy.php | do_action | 4124 | /** * Updates term count based on number of objects. * * Default callback for the 'link_category' taxonomy. * * @since 3.3.0 * * @global wpdb $wpdb WordPress database abstraction object. * * @param int[] $terms List of term taxonomy IDs. * @param WP_Taxonomy $taxonomy Current taxonomy object of terms. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $tt_id | Term taxonomy ID. |
string | $taxonomy | Taxonomy slug. |
array | $args | Arguments passed to wp_update_term(). |
int | $tt_id | Term taxonomy ID. |
string | $taxonomy | Taxonomy slug. |
array | $args | Arguments passed to wp_update_term(). |
int | $tt_id | Term taxonomy ID. |
string | $taxonomy | Taxonomy slug. |
array | $args | Arguments passed to wp_update_term(). |