mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed roles priority and added functions to work with roles (all|priority|um role);
- fixed um_is_core_page function with WPML; - added general admin notice when user have old extensions; - text changes;
This commit is contained in:
@@ -57,6 +57,16 @@ if ( ! class_exists( 'um\Dependencies' ) ) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function get_active_plugins() {
|
||||
if ( ! self::$active_plugins ) self::init();
|
||||
|
||||
return self::$active_plugins;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if UltimateMember core plugin is active
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user