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
function my_before_profile_fields( $args ) {
// your code here
}
add_action( 'um_before_profile_fields', 'my_before_profile_fields' );
function my_before_login_fields( $args ) {
// your code here
}
add_action( 'um_before_login_fields', 'my_before_login_fields' );
function my_before_register_fields( $args ) {
// your code here
}
add_action( 'um_before_register_fields', 'my_before_register_fields' );