mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed redirect after registration;
- removed empty set_roles() function; - added function for checking AMP;
This commit is contained in:
@@ -345,18 +345,6 @@ if ( ! class_exists( 'um\core\Roles_Capabilities' ) ) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set roles to user (remove all previous roles)
|
||||
* make user only with $roles roles
|
||||
*
|
||||
* @param int $user_id
|
||||
* @param string|array $roles
|
||||
*/
|
||||
function set_roles( $user_id, $roles ) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get user one of UM roles if it has it
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user