WC_Query::remove_product_query()
Remove the query.
{} Это метод класса: WC_Query{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$WC_Query = new WC_Query(); $WC_Query->remove_product_query();
Код WC_Query::remove_product_query() WC Query::remove product query WC 6.5.1
public function remove_product_query() { remove_action( 'pre_get_posts', array( $this, 'pre_get_posts' ) ); }