File: /var/www/karjerosdiena.lt/wp-content/plugins/wp-user-manager/templates/profile.php
<?php
/**
* The Template for displaying the profile page.
*
* This template can be overridden by copying it to yourtheme/wpum/profile.php
*
* HOWEVER, on occasion WPUM will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @version 1.0.0
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="wpum-template wpum-profile-page" id="wpum-profile">
<?php do_action( 'wpum_before_profile' ); ?>
<div id="profile-header-container">
<?php
WPUM()->templates
->set_template_data( array(
'user' => $data->user,
'current_user_id' => $data->current_user_id,
) )
->get_template_part( 'profiles/cover' );
WPUM()->templates
->set_template_data( array(
'user' => $data->user,
'current_user_id' => $data->current_user_id,
) )
->get_template_part( 'profiles/header' );
?>
</div>
<div id="profile-tab-content">
<?php
$active_tab = wpum_get_active_profile_tab();
WPUM()->templates->set_template_data( array(
'user' => $data->user,
'current_user_id' => $data->current_user_id,
) )->get_template_part( "profiles/{$active_tab}" );
do_action( 'wpum_profile_page_content_' . $active_tab, $data, $active_tab );
?>
</div>
<div class="wpum_clearfix"></div>
<?php do_action( 'wpum_after_profile' ); ?>
</div>