wip menu can now receive form with rest api, but no nonce

This commit is contained in:
asus
2024-03-23 18:25:43 +01:00
parent b6d1d63b93
commit aae40be620
4 changed files with 36 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ class Fbpatch {
const SLUG_TOOGLE_ADMIN_MENU = ['_name'=>'toogle_admin_menu_url_fbpatch', 'toggle'=>'toggle', 'show'=>'show', 'hide'=>'hide'];
const OPTION_TOGGLE_MENU = ['_name'=>'toggle_admin_menu_option_fbpatch', 'show'=>'show', 'hide'=>'hide'];
const URL_BASE_REST_ROUTE = 'fbpatch_plugin/api/v1'; // for routes, in php/paypal/routes.php && php/admin_modif_prof.php
//private static $_is_