I'm new to PHP and struggling to figure out to get the code to update a single current user meta. For instance if I want to update their first name automatically. I'm using $current_user = wp_get_current_user();
$current_user = wp_get_current_user();
to call the current user data rather than specifying a particular user ID.