Action: um_before_form_is_loaded

do_action( 'um_before_form_is_loaded', $args )

Fires before loading form shortcode.

Parameters:
Name Type Description
$args array

Form shortcode arguments.

Since:
  • 1.3.x
Source:
Example

Make any custom action before loading UM form shortcode.

function my_pre_shortcode( $args ) {
    // your code here
}
add_action( 'um_before_form_is_loaded', 'my_pre_shortcode', 10, 1 );