/**
 * @since      0.2.0
 * @deprecated 1.0.0
 */
function members_get_active_roles()
{
    _deprecated_function(__FUNCTION__, '1.0.0', 'members_get_active_role_names');
    return members_get_active_role_names();
}
Пример #2
0
/**
 * Returns an array of the role names of roles that do not have users.
 *
 * @since  1.0.0
 * @access public
 * @return array
 */
function members_get_inactive_role_names()
{
    return array_diff(members_get_role_names(), members_get_active_role_names());
}