CodeExplorer wp_update_term_count_now example
function wp_update_term_count( $terms,
$taxonomy,
$do_deferred = false
) { static $_deferred = array
();
if ( $do_deferred ) { foreach ( (array) array_keys( $_deferred ) as $tax ) { wp_update_term_count_now( $_deferred[ $tax ],
$tax );
unset( $_deferred[ $tax ] );
} } if ( empty( $terms ) ) { return false;
} if ( !
is_array( $terms ) ) { $terms = array
( $terms );
}