save_post hook error with REST API
save_post hook error with REST API
save_post hook error with REST API
the first step is to extract the value with this kind of code, does it work for you ? $xml = simplexml_load_string($result); $value = (string) $xml->response->results->result->zestimate->amount; var_export($value, FALSE); the next step is to put the value in the form. the Gravity Form is not free then we cannot test it and I only find that … Read more
How to modify the HTML output of Gutenberg block? (Youtube)
I did that by downloading first those picture via exec(wget).
Remote publishing using WP’s RetAPI // Issues with HTACCESS
Do something when publish a post in Gutenberg with hook rest_after_insert_post
You’re using the wrong function. It’s register_rest_route() not register_rest_field().
WP API file_get_contents return TTP request failed! HTTP/1.1 401 Unauthorized
$post->ad_1[0][‘top_image’] will not return you data, because you are not in JS which got response from your REST api which had injected ad_1 value into object which it returns to you. In your PHP code $post is of type WP_Post and it doesn’t have ad_1 in it, that’s why you getting nulls. I don’t know … Read more
Get wordpress post with featured image, category and tag from WordPress API