woocommerce_product_object_query

woocommerce_product_object_query

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_product_object_query') is found 1 times:

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

    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

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

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

    75
    76
    77
    78
    79
    80
    81
         */
        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 );
        }
    }