- add comments to templates

This commit is contained in:
ashubawork
2023-04-11 16:25:25 +03:00
parent 879290aa90
commit 871c0412b4
28 changed files with 307 additions and 23 deletions
+13 -1
View File
@@ -1,8 +1,20 @@
<?php
/**
* Template for the profile page
*
* This template can be overridden by copying it to yourtheme/ultimate-member/profile.php
*
* Page: "Profile"
*
* @version 1.0.0
*
* @var string $mode
* @var int $form_id
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) exit; ?>
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div class="um <?php echo esc_attr( $this->get_class( $mode ) ); ?> um-<?php echo esc_attr( $form_id ); ?> um-role-<?php echo esc_attr( um_user( 'role' ) ); ?> ">