now ajax is in PLGMTLS object as a method

This commit is contained in:
asus
2024-02-15 02:47:11 +01:00
parent aaca16525b
commit 6c893049dc
5 changed files with 76 additions and 59 deletions

View File

@@ -40,9 +40,6 @@ PLGNTLS_class::set_root_dir( plugin_dir_path(__FILE__), plugin_dir_url(__FILE__)
inclusions
*/
include_once(FIPFCARD_PLUGIN_DIR . '/php/utils/globals.php');
include_once(FIPFCARD_PLUGIN_DIR . '/php/utils/console_log.php');
include_once(FIPFCARD_PLUGIN_DIR . '/php/utils/add_to_front.php');
include_once(FIPFCARD_PLUGIN_DIR . '/php/utils/create_html.php');
include_once(FIPFCARD_PLUGIN_DIR . '/php/menu/example_menu.php');
@@ -74,12 +71,12 @@ function fipfcard_main_shortcode() {
return $fipfcard_tools->add_to_front(
array(
"example_style.css",
"example_init.js",
"example_script2.js",
"example_script3.js",
"example_index.html",
"example_index2.html",
"css/example_style.css",
"js/example_init.js",
"js/example_script2.js",
"js/example_script3.js",
"html/example_index.html",
"html/example_index2.html",
),
compact(
"myvar_1",