um_before_form_is_loaded

Hook type

Action

Description

Action pre-load form shortcode

Parameters

$args

(array) Form shortcode pre-loading

Usage

add_action( 'um_before_form_is_loaded', 'function_name', 10, 1 );

Examples

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

Change Log

Since: 2.0

Source

um_before_form_is_loaded is located in includes/core/class-shortcodes.php::line 527