How can I extend the get_post function to include my postmeta fields in the post object?

Is there an equivalent to the posts_join and posts_fields(used with WP_Query) filters that I can use but with the get_post function? I have meta fields that I would like to include as properties in the Post object while fetching a single post.

Read more here:: How can I extend the get_post function to include my postmeta fields in the post object?

Leave a Reply

Your email address will not be published. Required fields are marked *