delete_post_meta problem for multiple meta entries using the same metakey
-
Hi. I want to be able to assign WP users to individual posts (in this case a custom content type called ‘member organisation’). I use a custom $wpdb query to list all users and can associate them to the MO by creating a new postmeta entry with key ‘mo-user’ and value of the user’s ID.
However, I can’t delete them. Here’s the code I’m using:
[Code moderated as per the Forum Rules. Please use the pastebin]
Any help appreciated. Thanks.
Jake
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘delete_post_meta problem for multiple meta entries using the same metakey’ is closed to new replies.