JavaScript for WordPress › Forums › Gutenberg Development › Meta data – default value › Reply To: Meta data – default value
February 1, 2019 at 7:47 am
#87468
ldecoker
Participant
Sorry to not be so clear 🙂
When I load a default value and save the post, it does not save the default value to meta but the value is present in the POST request.
POST request URL:
/wp-json/wp/v2/pages/62?_locale=user
POST request meta section:
meta {
blocks_identifier: "home"
}
When checking the database, in postmeta, the meta has not been added.
Hope this is more clear.
Thx!