cleaned files by prefixing names with 'example' when not means to be used in other plugins aka not utils
This commit is contained in:
@@ -30,7 +30,7 @@ include_once(PLUGIN_DIR . '/php/utils/console_log.php');
|
||||
include_once(PLUGIN_DIR . '/php/utils/add_to_front.php');
|
||||
include_once(PLUGIN_DIR . '/php/utils/create_html.php');
|
||||
|
||||
include_once(PLUGIN_DIR . '/php/menu/menu.php');
|
||||
include_once(PLUGIN_DIR . '/php/menu/example_menu.php');
|
||||
|
||||
|
||||
|
||||
@@ -42,10 +42,10 @@ plugin shortcode
|
||||
function main_shortcode() {
|
||||
|
||||
add_files_to_front( array(
|
||||
"mystyle.css",
|
||||
"init.js",
|
||||
"myscript2.js",
|
||||
"myscript3.js",
|
||||
"example_style.css",
|
||||
"example_init.js",
|
||||
"example_script2.js",
|
||||
"example_script3.js",
|
||||
));
|
||||
|
||||
|
||||
@@ -61,8 +61,8 @@ function main_shortcode() {
|
||||
$ages = ["13", "34", "56"];
|
||||
$html_front = create_html(
|
||||
array(
|
||||
"index.html",
|
||||
"index2.html",
|
||||
"example_index.html",
|
||||
"example_index2.html",
|
||||
),
|
||||
compact(
|
||||
"names",
|
||||
|
||||
Reference in New Issue
Block a user