Filter: um_account_shortcode_args_filter

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

Filters Account shortcode arguments.

Parameters:
Name Type Description
$args array

Shortcode arguments.

Since:
  • 1.3.x
Deprecated:
  • 2.6.9
Source:
Returns:

Shortcode arguments.

Type
array
Example

Change Account arguments.

function my_account_shortcode_args( $args ) {
    $args['tab'] = 'password';
    return $args;
}
add_filter( 'um_account_shortcode_args_filter', 'my_account_shortcode_args' );