Files
ultimatemember/templates/register.php
T

140 lines
3.7 KiB
PHP
Raw Normal View History

2019-07-17 16:55:09 +03:00
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
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 ); ?>">
2014-12-15 22:38:07 +02:00
<div class="um-form">
2019-07-17 16:55:09 +03:00
2014-12-15 22:38:07 +02:00
<form method="post" action="">
2019-07-17 16:55:09 +03:00
<?php
/**
* UM hook
*
* @type action
* @title um_before_form
* @description Some actions before register form
* @input_vars
* [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
* @change_log
* ["Since: 2.0"]
* @usage add_action( 'um_before_form', 'function_name', 10, 1 );
* @example
* <?php
* add_action( 'um_before_form', 'my_before_form', 10, 1 );
* function my_before_form( $args ) {
* // your code here
* }
* ?>
*/
do_action( "um_before_form", $args );
/**
* UM hook
*
* @type action
* @title um_before_{$mode}_fields
* @description Some actions before register form fields
* @input_vars
* [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
* @change_log
* ["Since: 2.0"]
* @usage add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 );
* @example
* <?php
* add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 );
* function my_before_form( $args ) {
* // your code here
* }
* ?>
*/
do_action( "um_before_{$mode}_fields", $args );
2018-03-05 16:35:51 +02:00
2019-07-17 16:55:09 +03:00
/**
* UM hook
*
* @type action
* @title um_before_{$mode}_fields
* @description Some actions before register form fields
* @input_vars
* [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
* @change_log
* ["Since: 2.0"]
* @usage add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 );
* @example
* <?php
* add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 );
* function my_before_form( $args ) {
* // your code here
* }
* ?>
*/
do_action( "um_main_{$mode}_fields", $args );
2018-03-05 16:35:51 +02:00
2019-07-17 16:55:09 +03:00
/**
* UM hook
*
* @type action
* @title um_after_form_fields
* @description Some actions after register form fields
* @input_vars
* [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
* @change_log
* ["Since: 2.0"]
* @usage add_action( 'um_after_form_fields', 'function_name', 10, 1 );
* @example
* <?php
* add_action( 'um_after_form_fields', 'my_after_form_fields', 10, 1 );
* function my_after_form_fields( $args ) {
* // your code here
* }
* ?>
*/
do_action( 'um_after_form_fields', $args );
2018-03-05 16:35:51 +02:00
2019-07-17 16:55:09 +03:00
/**
* UM hook
*
* @type action
* @title um_after_{$mode}_fields
* @description Some actions after register form fields
* @input_vars
* [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
* @change_log
* ["Since: 2.0"]
* @usage add_action( 'um_after_{$mode}_fields', 'function_name', 10, 1 );
* @example
* <?php
* add_action( 'um_after_{$mode}_fields', 'my_after_form_fields', 10, 1 );
* function my_after_form_fields( $args ) {
* // your code here
* }
* ?>
*/
do_action( "um_after_{$mode}_fields", $args );
2018-03-05 16:35:51 +02:00
2019-07-17 16:55:09 +03:00
/**
* UM hook
*
* @type action
* @title um_after_form
* @description Some actions after register form fields
* @input_vars
* [{"var":"$args","type":"array","desc":"Register form shortcode arguments"}]
* @change_log
* ["Since: 2.0"]
* @usage add_action( 'um_after_form', 'function_name', 10, 1 );
* @example
* <?php
* add_action( 'um_after_form', 'my_after_form', 10, 1 );
* function my_after_form( $args ) {
* // your code here
* }
* ?>
*/
do_action( "um_after_form", $args ); ?>
2014-12-15 22:38:07 +02:00
</form>
2019-07-17 16:55:09 +03:00
2014-12-15 22:38:07 +02:00
</div>
2019-07-17 16:55:09 +03:00
2014-12-15 22:38:07 +02:00
</div>