Wrong encoding of dynamic block properties problem

Solved myself. The rest response ist fine. Important is not the raw response but the json encoded representation. Couse of my problem war editing the files with vi. VI reencoded the files itself. PHP & JS files need to be encoded as utf8.

Automatically import content to wordpress from a json file

You can use wp_insert_post() to add a new post programmatically. For Example, $my_post = array( ‘post_title’ => wp_strip_all_tags( $json->title ), ‘post_content’ => $json->body, ‘post_status’ => ‘publish’, ‘post_author’ => 1, ‘post_category’ => $json->categories ); // Insert the post into the database wp_insert_post( $my_post ); Your link has expired so I could not see the structure of … Read more

wp-json how to fetch image link?

i already fix this by using this $data = array( ‘:attachment’ => $record[_embedded][‘wp:featuredmedia’][‘0’][source_url] ); thanks for no person answered my question.