Hello. I’m using get_field to display some data from a particular post on another page, this is working as expected user get_field($field_name, $post_id).
However, I also want to check whether the post_id I’m referencing has the current user as the author. If so, display the data, if not, don’t. I see in the documentation that $post_id can target a specific user (user_#) but I’m not sure how to set up the query to support post_id such that it can reference a post ID that’s not the current post, in addition to matching the author to the logged in user.