improved plugin class by changing for only one method to do all
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user