mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
c4b6484438
- small changes and fixes;
34 lines
969 B
PHP
34 lines
969 B
PHP
<div class="um <?php echo $this->get_class( $mode ); ?> um-<?php echo esc_attr( $form_id ); ?> um-role-<?php echo um_user( 'role' ); ?> ">
|
|
|
|
<div class="um-form">
|
|
|
|
<?php do_action('um_profile_before_header', $args ); ?>
|
|
|
|
<?php if ( um_is_on_edit_profile() ) { ?><form method="post" action=""><?php } ?>
|
|
|
|
<?php do_action('um_profile_header_cover_area', $args ); ?>
|
|
|
|
<?php do_action('um_profile_header', $args ); ?>
|
|
|
|
<?php do_action('um_profile_navbar', $args ); ?>
|
|
|
|
<?php
|
|
|
|
$nav = UM()->profile()->active_tab;
|
|
$subnav = ( get_query_var('subnav') ) ? get_query_var('subnav') : 'default';
|
|
|
|
print "<div class='um-profile-body $nav $nav-$subnav'>";
|
|
|
|
// Custom hook to display tabbed content
|
|
do_action("um_profile_content_{$nav}", $args);
|
|
do_action("um_profile_content_{$nav}_{$subnav}", $args);
|
|
|
|
print "</div>";
|
|
|
|
?>
|
|
|
|
<?php if ( um_is_on_edit_profile() ) { ?></form><?php } ?>
|
|
|
|
</div>
|
|
|
|
</div>
|