woocommerce_product_object_query

woocommerce_product_object_query

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_product_object_query') is found 1 times:

  • /includes/class-wc-product-query.php line 77

    Warning: Undefined array key 79 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 80 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 81 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 82 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    	 */
    	public function get_products() {
    		$args    = apply_filters( 'woocommerce_product_object_query_args', $this->get_query_vars() );
    		$results = WC_Data_Store::load( 'product' )->query( $args );
    		return apply_filters( 'woocommerce_product_object_query', $results, $args );
    	}
    }