Custom field not saved
问题 I try to add a custom user field to the user by using WPGraphQL. Therefore I tried to recreate the example in the official WPGraphQL documentation https://docs.wpgraphql.com/extending/fields/#register-fields-to-the-schema : add_action('graphql_init', function () { $hobbies = [ 'type' => ['list_of' => 'String'], 'description' => __('Custom field for user mutations', 'your-textdomain'), 'resolve' => function ($user) { $hobbies = get_user_meta($user->userId, 'hobbies', true); return !empty(