wcpos_term_response( $response, $item ); } /** * Filter the brand query. * * Kept as a named method because third-party code detaches it by this exact * callback tuple; the behaviour lives in Traits\Term_Controller. * * @param array $args Query arguments. * @param WP_REST_Request $request Request object. * * @return array */ public function wcpos_product_brand_query( array $args, WP_REST_Request $request ): array { return $this->wcpos_term_query( $args ); } }