Logo
  • Home

October, 2023

Why is update_post_meta() not saving the value to the database in post_updated?
Why is update_post_meta() not saving the value to the database in post_updated?

Good question! Try instead using ‘save_post’. I was finding that this code: Was not saving the value to the database, when I checked, the field was empty, despite $html having content when the code fired. This code was inside an update_post action: When I updated it to: The value got correctly written. Note that ACF’s... » read more

0
Read
ralpharama written 2 years ago
Basic auth works in Postman but the curl it supplies doesn’t
Basic auth works in Postman but the curl it supplies doesn’t

Specifically in Windows on the command line. Everything from params are wrong to simply failing the auth. Here’s what worked for me: Click the little settings cog where the curl is generated in Postman: Now turn off multiline, turn off user long form and change quotes to double, like this: Now your curl will update,... » read more

0
Read
ralpharama written 2 years ago

Tiresome legal obligation privacy policy

https://www.buymeacoffee.com/ralpharama: Basic auth works in Postman but the curl it supplies doesn’t
Copyright © 2025 Ralpharama Geek Blog. All rights reserved. Theme by Mynote.