Description #
Get a count of all sellers, active sellers, and inactive sellers as an associative array. The array format is:
total => number of total sellers,
active => number of active sellers,
inactive => number of inactive sellers,
Return #
(array)
Params #
None
Usage #
$sellers_count = dokan_get_seller_status_count();
echo 'Number of active seller is: ' . $sellers_count['active'];
echo 'Number of inactive seller is: ' . $sellers_count['inactive'];
echo 'Number of total seller is: ' . $sellers_count['total'];
Hooks #
dokan_get_seller_status_count (filter)