Files
ultimatemember/templates/register.php
T
Mykyta Synelnikov 6c632a2c68 - fixed CVE ID: CVE-2024-8519
- WPCS;
2024-09-12 16:44:53 +03:00

44 lines
1.3 KiB
PHP

<?php
/**
* Template for the register page
*
* This template can be overridden by copying it to your-theme/ultimate-member/templates/register.php
*
* Page: "Register"
*
* @version 2.7.0
*
* @var string $mode
* @var int $form_id
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! is_user_logged_in() ) {
um_reset_user();
}
?>
<div class="um <?php echo esc_attr( $this->get_class( $mode ) ); ?> um-<?php echo esc_attr( $form_id ); ?>">
<div class="um-form" data-mode="<?php echo esc_attr( $mode ); ?>">
<form method="post" action="">
<?php
/** This action is documented in includes/core/um-actions-profile.php */
do_action( 'um_before_form', $args );
/** This action is documented in includes/core/um-actions-profile.php */
do_action( "um_before_{$mode}_fields", $args );
/** This action is documented in includes/core/um-actions-profile.php */
do_action( "um_main_{$mode}_fields", $args );
/** This action is documented in includes/core/um-actions-profile.php */
do_action( 'um_after_form_fields', $args );
/** This action is documented in includes/core/um-actions-profile.php */
do_action( "um_after_{$mode}_fields", $args );
/** This action is documented in includes/core/um-actions-profile.php */
do_action( 'um_after_form', $args );
?>
</form>
</div>
</div>