Merge branch 'master' of https://github.com/ultimatemember/ultimatemember into fix/wpml_emails_templates

Conflicts:
	includes/um-deprecated-functions.php
	includes/um-short-functions.php
This commit is contained in:
nikitozzzzzzz
2017-12-19 14:47:47 +02:00
41 changed files with 4928 additions and 4513 deletions
@@ -141,6 +141,18 @@ if ( ! class_exists( '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
*