Filter: um_pre_args_setup

apply_filters( 'um_pre_args_setup', $args ) → {array}

Filters arguments for loading Ultimate Member shortcodes.

Parameters:
Name Type Description
$args array

Data for loading shortcode.

Since:
  • 1.3.x
Source:
Returns:

Data for loading shortcode.

Type
array
Example

Change arguments on load shortcode.

function my_pre_args_setup( $args ) {
    // your code here
    return $args;
}
add_filter( 'um_pre_args_setup', 'my_pre_args_setup' );