improved plugin class by changing for only one method to do all

This commit is contained in:
asus
2024-02-15 00:40:07 +01:00
parent 8d0122f63e
commit aaca16525b
7 changed files with 84 additions and 78 deletions

View File

@@ -1,13 +1,12 @@
<?php
function fipfcard_plugin_content() {
$fipfcard_tools = new PLGNTOOLS();
$fipfcard_tools = new PLGNTLS_class();
$fipfcard_tools->add_files_to_front( array(
echo $fipfcard_tools->add_to_front( array(
"menu/example_menu.js",
"menu/example_menu.html",
));
echo $fipfcard_tools->create_html("menu/example_menu.html");
}
?>