0
I am adding posts on my Wordpress site through the v2 API. The post is being inserted, but the custom_fields are not. Follow my payload below:
$data = [
'title' => 'Meu novo titulo 03',
'status' => 'publish',
'meta_data' => [
[
'key' => 'bt_thumb',
'value' => '111'
],
[
'key' => 'embed_code',
'value' => '222'
],
]
];
It does not error any, simply does not insert the custom_field (custom_fields already exist registered in WP, follows image below).
Thanks!