AbstractTermsRoute::get_term_count( string $taxonomy, array $args )

Get count of terms for current query.


Description Description


Parameters Parameters

$taxonomy

(Required) Taxonomy to get terms from.

$args

(Required) Array of args to pass to wp_count_terms.


Top ↑

Return Return

(int)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Routes/AbstractTermsRoute.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.