mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 22:54:03 +09:00
Many changes in core to be more WordPress native
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
break;
|
||||
|
||||
case 'um_delete':
|
||||
if ( is_admin() )
|
||||
wp_die('This action is not allowed in backend.','ultimatemember');
|
||||
$ultimatemember->user->delete();
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user