I am trying to get a post ID by it's post content. I have a custom post type of 'membership' which has post_content that looks like this...
{"member_id":33}
I am trying to get the ID of this post by searching for {"member_id":33}
Am I best off doing this using an SQL statement or is there a better way to do it using WordPress functions?