Saving custom post types post_meta over REST-API fails
The register_meta() function is defined like so: function register_meta( $object_type, $meta_key, $args, $deprecated = null ) And the $object_type (as of now) has to be post for all post types. So use this: register_meta( ‘post’, ‘survey_data’, … ) See the // {comments} in the code below, which I copied from here: <?php // The object … Read more