67 lines
1.5 KiB
HTML
67 lines
1.5 KiB
HTML
<div id="model_plugin_shortcode">
|
|
<ol>
|
|
<p>list get_metadata('post') :</p>
|
|
<?php
|
|
foreach($post_metadata as $meta_key => $meta_value) {
|
|
include($plgn_dir."html/templates/print_meta.html");
|
|
}
|
|
?>
|
|
</ol>
|
|
<ol>
|
|
<p>list get_post_meta() :</p>
|
|
<?php
|
|
foreach($post_meta as $meta_key => $meta_value) {
|
|
include($plgn_dir."html/templates/print_meta.html");
|
|
}
|
|
?>
|
|
</ol>
|
|
<ol>
|
|
<p>list get_metadata('user') :</p>
|
|
<?php
|
|
foreach($user_metadata as $meta_key => $meta_value) {
|
|
include($plgn_dir."html/templates/print_meta.html");
|
|
}
|
|
?>
|
|
</ol>
|
|
<ol>
|
|
<p>list get_user_meta() :</p>
|
|
<?php
|
|
foreach($user_meta as $meta_key => $meta_value) {
|
|
include($plgn_dir."html/templates/print_meta.html");
|
|
}
|
|
?>
|
|
</ol>
|
|
<ol>
|
|
<p>list get_userdata() :</p>
|
|
<?php
|
|
foreach($user_data as $meta_key => $meta_value) {
|
|
include($plgn_dir."html/templates/print_meta.html");
|
|
}
|
|
?>
|
|
</ol>
|
|
<ol>
|
|
<p>list wp_get_current_user() :</p>
|
|
<?php
|
|
foreach($current_user as $meta_key => $meta_value) {
|
|
include($plgn_dir."html/templates/print_meta.html");
|
|
}
|
|
?>
|
|
</ol>
|
|
<ol>
|
|
<p>list wp_get_current_user()->data :</p>
|
|
<?php
|
|
foreach($current_user->data as $meta_key => $meta_value) {
|
|
include($plgn_dir."html/templates/print_meta.html");
|
|
}
|
|
?>
|
|
</ol>
|
|
|
|
<p>i am a new p</p>
|
|
<p class="first_el_to_change">to change</p>
|
|
<button id='test_ajax_1' name="ajax_button_1" value="2024">2024</button>
|
|
<?php
|
|
foreach($names as $name) {
|
|
include($plgn_dir."html/templates/example_presentation.html");
|
|
}
|
|
?>
|