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

@@ -3,7 +3,7 @@
<p>list of post meta :</p>
<?php
foreach($post_meta as $meta_key => $meta_value) {
include($html_dir."templates/print_meta.html");
include($plgn_dir."html/templates/print_meta.html");
}
?>
</ol>
@@ -11,7 +11,7 @@
<p>list of user meta :</p>
<?php
foreach($user_meta as $meta_key => $meta_value) {
include($html_dir."templates/print_meta.html");
include($plgn_dir."html/templates/print_meta.html");
}
?>
</ol>
@@ -21,6 +21,6 @@
<button id='test_ajax_1' name="ajax_button_1" value="2024">2024</button>
<?php
foreach($names as $name) {
include($html_dir."templates/example_presentation.html");
include($plgn_dir."html/templates/example_presentation.html");
}
?>