- added new plugin

- improved the plgntls class for this plugin
This commit is contained in:
asus
2024-03-30 14:57:40 +01:00
parent 2682f3bcd4
commit 95c292c626
4 changed files with 1068 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace XTXPATCH;
/*
* it means someone outside wp is accessing the file, in this case kill it.
*/
if (!defined('ABSPATH')) {
die('You can not access this file!');
}
/*
*
*/
class Xtxpatch {
const SLUG_TOOGLE_ADMIN_MENU = ['_name'=>'toogle_admin_menu_url_xtxpatch', 'toggle'=>'toggle', 'show'=>'show', 'hide'=>'hide'];
const OPTION_TOGGLE_MENU = ['_name'=>'toggle_admin_menu_option_xtxpatch', 'show'=>'show', 'hide'=>'hide'];
}
?>