PluginProbe
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP / 1.2.43
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP v1.2.43
1.2.72 1.2.71 1.2.70 1.2.69 1.2.68 1.2.67 1.2.66 1.2.65 1.2.64 1.2.63 trunk 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 1.0.23 All 172 releases
userswp / templates / bootstrap / dashboard-simple.php

dashboard-simple.php in UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP 1.2.43, at templates/bootstrap/dashboard-simple.php

31 lines 964 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 global $current_user;
3
4 echo '<div class="uwp-login-widget user-loggedin">';
5
6 echo '<p>'.esc_html__( 'Logged in as ', 'userswp' );
7
8 $content = get_avatar( $current_user->ID, 35 ). '<strong>'. apply_filters('uwp_profile_display_name', esc_attr( $current_user->display_name )).'</strong>';
9
10 echo aui()->button(array( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
11 'type' => 'a',
12 'href' => esc_url( uwp_build_profile_tab_url($current_user->ID) ),
13 'class' => '',
14 'content' => $content, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
15 ));
16
17 echo '<span>';
18
19 echo aui()->button(array( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
20 'type' => 'a',
21 'href' => esc_url( wp_logout_url() ),
22 'class' => 'btn btn-sm btn-outline-primary',
23 'title' => esc_html__("Logout","userswp"),
24 'content' => esc_html__("Logout","userswp"),
25 ));
26
27 echo '</span>';
28
29 echo '</p>';
30
31 echo '</div>';