woocommerce_api_product_reviews_response

woocommerce_api_product_reviews_response

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

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_api_product_reviews_response') is found 3 times:

  • /includes/legacy/api/v1/class-wc-api-products.php line 229
    				'verified'       => wc_review_is_from_verified_owner( $comment->comment_ID ),
    			);
    		}
    
    		return array( 'product_reviews' => apply_filters( 'woocommerce_api_product_reviews_response', $reviews, $id, $fields, $comments, $this->server ) );
    	}
    
    	/**
    	 * Helper method to get product post objects
    	 *
    	 * @since 2.1
    
  • /includes/legacy/api/v2/class-wc-api-products.php line 504
    				'verified'       => wc_review_is_from_verified_owner( $comment->comment_ID ),
    			);
    		}
    
    		return array( 'product_reviews' => apply_filters( 'woocommerce_api_product_reviews_response', $reviews, $id, $fields, $comments, $this->server ) );
    	}
    
    	/**
    	 * Get the orders for a product
    	 *
    	 * @since 2.4.0
    
  • /includes/legacy/api/v3/class-wc-api-products.php line 563
    				'verified'       => wc_review_is_from_verified_owner( $comment->comment_ID ),
    			);
    		}
    
    		return array( 'product_reviews' => apply_filters( 'woocommerce_api_product_reviews_response', $reviews, $id, $fields, $comments, $this->server ) );
    	}
    
    	/**
    	 * Get the orders for a product
    	 *
    	 * @since 2.4.0