public/wordpress/wp-content/plugins/front-end-only-users/Functions/Update_Admin_Databases.php
/* Edits a single user with a given ID in the FEUP database */
Edits a single user with a given ID in the FEUP database
Edits a single user with a given ID in the FEUP database
function Edit_EWD_FEUP_User($User_ID, $User_Data_Array) {
	global $wpdb;
	global $ewd_feup_user_table_name;
	$wpdb->update(
		$ewd_feup_user_table_name,
		$User_Data_Array,
		array( 'User_ID' => $User_ID)
	);
	$update = __("User has been successfully edited.", 'front-end-only-users');
	return $update;
}
function Edit_EWD_FEUP_User ( $ User_ID , $ User_Data_Array ) { global $ wpdb ; global $ ewd_feup_user_table_name ; $ wpdb -> update ( $ ewd_feup_user_table_name , $ User_Data_Array , array ( 'User_ID' => $ User_ID ) ) ; $ update = __ ( " User has been successfully edited. " , 'front-end-only-users' ) ; return $ update ; }
Edits a single user with a given ID in the FEUP database
Edits a single user with a given ID in the FEUP database