added custer menu for notice

This commit is contained in:
asus
2024-04-05 00:07:01 +02:00
parent f987c2a316
commit 926bdc8417
5 changed files with 1500 additions and 32 deletions

View File

@@ -17,9 +17,21 @@ 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 OPTION_TOGGLE_MENU = ['_name'=>'toggle_admin_menu_option_custer', 'show'=>'show', 'hide'=>'hide'];
const OPTION_NOTICE = [
'_name'=>'notice_usage_custer',
'_default' => [
'style'=>
'p {
border: 1px solid blue;
}',
'html'=>
'<p>helo</p>',
],
];
const USER_INFO_DATE_FORMAT = 'd/m/Y'; // for user_infos.php (date format : https://www.php.net/manual/fr/datetime.format.php)
const OPTION_ANCHOR = 'custer_anchor_ids';
const QUERIES = [
'__author_page_url__',