I have this sql statement:
SELECT post_id FROM wp_postmeta WHERE meta_key = $param1 AND meta_value = $param2
I am facing one problem:
I don't know how to do that sql code with wordpress functionalities. I have read the manual to
get_posts() etc. (though I might have missed something), but I haven't found a way to implement this yet.
Can you help me and show me a way or a hint.
Thanks in advance