now ajax is in PLGMTLS object as a method
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user