Working with post meta on post save/update
-
I don’t know why it’s so difficult to get and work with the post meta on post save. In the save_post filters, the post meta is not always available in the $_POST or $_REQUEST object, and the post meta from the database is not always updated by the time the hook is called.
The $postarr object should really be sent along with the save/update post action hooks so that ALL of the sent data can be manipulated after save. At the very least, the post meta.
I have never understood why I have to test a thousand different hacks just to get the post meta on save post to work with. And why when one works for some site, for some reason, it doesn’t work on others.
The blog I need help with is: (visible only to logged in users)
-
Hi,
This forum is for sites hosted with WordPress
.comYour site is using hosting with WordPress
.org
software.Your site hosting information can be seen at this link.
https://gwhois.org/aryanduntley.com+dns
Please use the wordpress.org forum for help.
You will need to create an account there to be able to use that forum.
https://wordpress.org/support/forums/
If you want to know the differences between .com and .org please read this document.
https://wordpress.com/com-vs-org/
Your hosting provider’s support may also be able to help.
-
-
- The topic ‘Working with post meta on post save/update’ is closed to new replies.