- v 0.3.2 : can hide or show admin menu

This commit is contained in:
asus
2024-03-17 23:00:39 +01:00
parent fcb15c97d1
commit 82b6593dd9
8 changed files with 285 additions and 13 deletions

View File

@@ -18,6 +18,9 @@ if (!defined('ABSPATH')) {
class Custer {
const USER_INFO_DATE_FORMAT = 'd/m/Y'; // for user_infos.php (date format : https://www.php.net/manual/fr/datetime.format.php)
const SLUG_TOOGLE_ADMIN_MENU = ['_name'=>'toogle_admin_menu_url_custer', 'toggle'=>'toggle', 'show'=>'show', 'hide'=>'hide'];
const TOGGLE_ADMIN_MENU = ['_name'=>'toggle_admin_menu_option_custer', 'show'=>'show', 'hide'=>'hide'];
private static $_backup_current_user = null;
@@ -40,6 +43,7 @@ class Custer {
}
}