I am having a hard time to get this to work. Basically I want to make a function/query to delete all posts that have a custom field name of “database” and value of “1”.
So basically select post ID’s where meta_key name database has a meta_value of 1 then delete all those posts IDs.
Any help would be appreciated!
- The topic ‘Database Query Help’ is closed to new replies.