Thank you for the reply.
I just installed the update
And I copied this function and pasted it, and lost all my indentation on the arrays:
private function getStoreReviews( int $storeId )
{
$reviews = get_posts(
[
'post_type' => 'reviews',
'post_status' => 'publish',
'numberposts' => -1, // This will return all posts
'meta_query' => [
[
'key' => DDP_FIELD_REVIEW_STORE, // Your ACF field key
'value' => $storeId, // The ID of the related post
'compare' => 'LIKE'
]
]
]
);
return $reviews;
}