- added role at registration with xootix
- cleaned folder
This commit is contained in:
@@ -1,70 +0,0 @@
|
||||
<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>get_field('user_email') :</p>
|
||||
<p>
|
||||
<?php echo $user_email ?>
|
||||
</p>
|
||||
|
||||
<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");
|
||||
}
|
||||
?>
|
||||
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
foreach($ages as $age) {
|
||||
?>
|
||||
<p>age <?php echo esc_html($age); ?></p>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<p class="third_el_to_change">to change</p>
|
||||
<p>aaaaaand this is the end</p>
|
||||
<form method="post" action="<?php echo esc_url( wp_registration_url() ); ?>">
|
||||
<input type="text" name="user_login" placeholder="username">
|
||||
<input type="email" name="user_email" placeholder="email">
|
||||
<input type="password" name="user_pass" placeholder="password">
|
||||
<button type="submit">register</button>
|
||||
</form>
|
||||
<form method="post" action="<?php echo esc_url( wp_lostpassword_url() ); ?>">
|
||||
<input type="hidden" id="user_login" value="rexe">
|
||||
<input type="text" name="pass1" data-reveal="1" data-pw="i0#chBo*S1Br5iDY" placeholder="new password">
|
||||
<input type="hidden" name="rp_key" value="WO8qGALMbbKKsEEhXsOQ">
|
||||
<button type="submit">generate</button>
|
||||
</form>
|
||||
</div>
|
||||
@@ -1,3 +0,0 @@
|
||||
<input type='text' id='image_id' placeholder="image_id" value="33555">
|
||||
<button id='edit_image'>edit image</button>
|
||||
<div id="media_editor"></div>
|
||||
@@ -1,2 +0,0 @@
|
||||
<p>hello <?php echo esc_html($name); ?></p>
|
||||
<p class="second_el_to_change">to change</p>
|
||||
@@ -1,4 +0,0 @@
|
||||
<li>
|
||||
"<?php echo esc_html($meta_key); ?>" :
|
||||
<?php echo esc_html(json_encode($meta_value)); ?>
|
||||
</li>
|
||||
Reference in New Issue
Block a user