WC_Query::remove_product_query()
Remove the query.
Method of the class: WC_Query{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Query = new WC_Query(); $WC_Query->remove_product_query();
WC_Query::remove_product_query() WC Query::remove product query code WC 7.7.0
public function remove_product_query() { remove_action( 'pre_get_posts', array( $this, 'pre_get_posts' ) ); }