WC_Query::get_products_in_view()
Deprecated from version 2.6.0 due to performance concerns. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
Get an unpaginated list all product IDs (both filtered and unfiltered). Makes use of transients.
Method of the class: WC_Query{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Query = new WC_Query(); $WC_Query->get_products_in_view();
Changelog
Deprecated since 2.6.0 | due to performance concerns |
WC_Query::get_products_in_view() WC Query::get products in view code WC 8.7.0
public function get_products_in_view() { wc_deprecated_function( 'get_products_in_view', '2.6' ); }