Retrieves the classes for the post div as an array.
This method was modified from WordPress's get_post_class() to allow the removal of taxonomies (for performance reasons).
Previously wc_product_post_class was hooked into post_class. That still happens, but this function negates the need for it and thus unhooks it when running the post_class hook. @since 3.6.0
||One or more classes to add to the class list.|
||Product ID or product object.|
Return value summary