2017-08-07 16:30:12 +03:00
|
|
|
<div class="um <?php echo $this->get_class( $mode, $args ); ?> um-<?php echo esc_attr( $form_id ); ?>">
|
2015-03-12 18:22:29 +02:00
|
|
|
|
|
|
|
|
<div class="um-form">
|
|
|
|
|
|
|
|
|
|
<div class="um-misc-with-img">
|
|
|
|
|
|
|
|
|
|
<div class="um-misc-img">
|
2018-03-05 16:35:51 +02:00
|
|
|
<a href="<?php echo um_get_core_page( 'user' ); ?>"><?php echo um_user( 'profile_photo', 80 ); ?></a>
|
2015-03-12 18:22:29 +02:00
|
|
|
</div>
|
|
|
|
|
|
2018-03-05 16:35:51 +02:00
|
|
|
<div><strong><?php echo um_user( 'display_name' ); ?></strong></div>
|
2015-03-12 18:22:29 +02:00
|
|
|
|
2018-03-05 16:35:51 +02:00
|
|
|
<?php
|
|
|
|
|
/**
|
|
|
|
|
* UM hook
|
|
|
|
|
*
|
|
|
|
|
* @type action
|
|
|
|
|
* @title um_logout_after_user_welcome
|
|
|
|
|
* @description Some actions on logout form
|
|
|
|
|
* @input_vars
|
|
|
|
|
* [{"var":"$args","type":"array","desc":"Logout form shortcode arguments"}]
|
|
|
|
|
* @change_log
|
|
|
|
|
* ["Since: 2.0"]
|
|
|
|
|
* @usage add_action( 'um_logout_after_user_welcome', 'function_name', 10, 1 );
|
|
|
|
|
* @example
|
|
|
|
|
* <?php
|
|
|
|
|
* add_action( 'um_logout_after_user_welcome', 'my_logout_after_user_welcome', 10, 1 );
|
|
|
|
|
* function my_logout_after_user_welcome( $args ) {
|
|
|
|
|
* // your code here
|
|
|
|
|
* }
|
|
|
|
|
* ?>
|
|
|
|
|
*/
|
|
|
|
|
do_action( 'um_logout_after_user_welcome', $args ); ?>
|
2015-03-12 18:22:29 +02:00
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<ul class="um-misc-ul">
|
|
|
|
|
|
2018-03-05 16:35:51 +02:00
|
|
|
<?php
|
|
|
|
|
/**
|
|
|
|
|
* UM hook
|
|
|
|
|
*
|
|
|
|
|
* @type action
|
|
|
|
|
* @title um_logout_user_links
|
|
|
|
|
* @description Logout user links
|
|
|
|
|
* @input_vars
|
|
|
|
|
* [{"var":"$args","type":"array","desc":"Logout form shortcode arguments"}]
|
|
|
|
|
* @change_log
|
|
|
|
|
* ["Since: 2.0"]
|
|
|
|
|
* @usage add_action( 'um_logout_user_links', 'function_name', 10, 1 );
|
|
|
|
|
* @example
|
|
|
|
|
* <?php
|
|
|
|
|
* add_action( 'um_logout_user_links', 'my_logout_user_links', 10, 1 );
|
|
|
|
|
* function my_logout_user_links( $args ) {
|
|
|
|
|
* // your code here
|
|
|
|
|
* }
|
|
|
|
|
* ?>
|
|
|
|
|
*/
|
|
|
|
|
do_action( 'um_logout_user_links', $args ); ?>
|
2015-03-12 18:22:29 +02:00
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|