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.3.3

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
    		 *
    		 * @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.