Files
ultimatemember/templates/register.php
T

44 lines
1.3 KiB
PHP
Raw Normal View History

2023-04-11 09:13:36 +03:00
<?php
/**
2023-04-11 16:25:25 +03:00
* Template for the register page
*
2024-09-12 16:44:53 +03:00
* This template can be overridden by copying it to your-theme/ultimate-member/templates/register.php
2023-04-11 16:25:25 +03:00
*
* Page: "Register"
*
2023-10-10 18:20:15 +03:00
* @version 2.7.0
2023-04-11 16:25:25 +03:00
*
* @var string $mode
* @var int $form_id
* @var array $args
2023-04-11 09:13:36 +03:00
*/
2023-04-11 16:25:25 +03:00
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
2020-07-14 04:21:03 +03:00
if ( ! is_user_logged_in() ) {
um_reset_user();
2023-10-03 13:30:02 +03:00
}
?>
2019-07-17 16:55:09 +03:00
2019-07-16 18:40:07 +03:00
<div class="um <?php echo esc_attr( $this->get_class( $mode ) ); ?> um-<?php echo esc_attr( $form_id ); ?>">
2023-10-03 13:30:02 +03:00
<div class="um-form" data-mode="<?php echo esc_attr( $mode ); ?>">
2014-12-15 22:38:07 +02:00
<form method="post" action="">
2019-07-17 16:55:09 +03:00
<?php
2023-10-03 13:30:02 +03:00
/** 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 */
2019-07-17 16:55:09 +03:00
do_action( "um_before_{$mode}_fields", $args );
2023-10-03 13:30:02 +03:00
/** This action is documented in includes/core/um-actions-profile.php */
2019-07-17 16:55:09 +03:00
do_action( "um_main_{$mode}_fields", $args );
2023-10-03 13:30:02 +03:00
/** This action is documented in includes/core/um-actions-profile.php */
2019-07-17 16:55:09 +03:00
do_action( 'um_after_form_fields', $args );
2023-10-03 13:30:02 +03:00
/** This action is documented in includes/core/um-actions-profile.php */
2019-07-17 16:55:09 +03:00
do_action( "um_after_{$mode}_fields", $args );
2023-10-03 13:30:02 +03:00
/** This action is documented in includes/core/um-actions-profile.php */
do_action( 'um_after_form', $args );
?>
2014-12-15 22:38:07 +02:00
</form>
</div>
2023-04-11 09:13:36 +03:00
</div>