update_post_meta not working
-
Hey Y’all
Having an issue in my custom plugin where update_post_meta will create the post_meta value if it’s not present but won’t update it if it already exists.
This is my code,$postid = $post1->ID; $updateP = update_post_meta( $postid, timeUpdate, $time);
The only thing I can think of is database permissions but all users have full permissions.
Thanks in Advance
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘update_post_meta not working’ is closed to new replies.