woocommerce_rest_{$this->post_type}_object_query

woocommerce_rest_{$this->post_type}_object_query

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_rest_{$this->post_type}_object_query') is found 1 times:

  • /includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php line 354
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
         *
         * @param array           $args    Key value array of query var to query value.
         * @param WP_REST_Request $request The request used.
         */
        $args = apply_filters( "woocommerce_rest_{$this->post_type}_object_query", $args, $request );
     
        return $this->prepare_items_query( $args, $request );
    }
     
    /**
     * Get objects.