Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function custom_resume_manager_update_resume_data() {
$user = wp_get_current_user();
wp_update_user( array(
'ID' => $user->ID,
'role' => 'candidate'
) );
}
add_action( 'resume_manager_update_resume_data', 'custom_resume_manager_update_resume_data' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.