Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
DataStore::get_count( string $status )
Get count for the passed in stock status.
Description Description
Parameters Parameters
- $status
-
(Required) Status slug.
Return Return
(int) Count.
Source Source
File: packages/woocommerce-admin/src/API/Reports/Stock/Stats/DataStore.php