Action: um_before_{$mode}_fields

do_action( 'um_before_{$mode}_fields', $args )

Fires before 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

Make any custom action before UM Profile form fields.

function my_before_profile_fields( $args ) {
    // your code here
}
add_action( 'um_before_profile_fields', 'my_before_profile_fields' );

Make any custom action before UM Login form fields.

function my_before_login_fields( $args ) {
    // your code here
}
add_action( 'um_before_login_fields', 'my_before_login_fields' );

Make any custom action before UM Register form fields.

function my_before_register_fields( $args ) {
    // your code here
}
add_action( 'um_before_register_fields', 'my_before_register_fields' );