Support

Account

Home Forums Backend Issues (wp-admin) Is it actually possible to populate custom fields via the REST API? Reply To: Is it actually possible to populate custom fields via the REST API?

  • Edit: there is invalid code in get_field_groups_by_id in rest api,
    default case is invalid, and does not check for attachement sub type.

    default:

    $args = $object_sub_type === “attachment” ? array( ‘attachment’ => $object_id ): array( ‘post_id’ => $object_id );