WPDev.one
Core Function
View Source on Trac ↗

wp_update_term_count_now()

wp_update_term_count_now( mixed $terms, mixed $taxonomy )

Performs term count update immediately.

Parameters 2 required

Name / Type Description
$terms
array

The term_taxonomy_id of terms to update.

Required
$taxonomy
string

The context of the term.

Required

Return Value

(true)
Always true when complete.

Function Information

Since Version
2.5.0
Source File
wp-includes/taxonomy.php
Advertisement