I have wp theme with custom fields in posts with following meta keys in photo, can't create post with custom fields values using rest-api (I'm able to create posts with no problem but cant edit or add meta values). (I'm not a ninja in wp or php)
-
Maybe my recent answer here can help wordpress.stackexchange.com/a/408083/26350– birgireAug 2, 2022 at 23:51
-
2How are you attempting to perform the update/insertion? What is the server's response?– boscoAug 3, 2022 at 0:31
-
@birgire should I add specific code line to be able to update the meta value?– RafalAug 3, 2022 at 22:35
-
@bosco Just normal update with PUT to my post id using postman and When I try to update post title and any meta value, I got the updated title but no changes in meta value– RafalAug 3, 2022 at 22:38
-
@Rafal yes as explained in the linked answer– birgireAug 4, 2022 at 11:34
Add a comment
|