mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed is_admin_screen function;
This commit is contained in:
@@ -25,10 +25,9 @@ if ( ! class_exists( 'um\admin\Admin_Functions' ) ) {
|
||||
/**
|
||||
* Boolean check if we're viewing UM backend
|
||||
*
|
||||
* @todo global for all admin classes
|
||||
* @return bool
|
||||
*/
|
||||
function is_UM_admin_screen() {
|
||||
function is_um_screen() {
|
||||
global $current_screen;
|
||||
$screen_id = $current_screen->id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user