do_action( 'um_main_{$mode}_fields', $args )
Fires for rendering UM Form fields.
Note: $mode can be equals to 'login', 'profile', 'register'.
Parameters:
Name | Type | Description |
---|---|---|
$args |
array | UM Form shortcode arguments. |
- Since:
- 1.3.x
- Source:
Examples
function my_main_profile_fields( $args ) {
// your code here
}
add_action( 'um_main_profile_fields', 'my_main_profile_fields' );
function my_main_login_fields( $args ) {
// your code here
}
add_action( 'um_main_login_fields', 'my_main_login_fields' );
function my_main_register_fields( $args ) {
// your code here
}
add_action( 'um_main_register_fields', 'my_main_register_fields' );