um_shortcode_args_filter

Hook type

Filter

Description

Change arguments on load shortcode

Parameters

$args

(string) Shortcode arguments

Usage

<?php add_filter( 'um_shortcode_args_filter', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_shortcode_args_filter', 'my_shortcode_args', 10, 1 );
function my_shortcode_args( $args ) {
    // your code here
return $args;
}
?>

Change Log

Since: 2.0

Source

um_shortcode_args_filter is located in includes/core/class-shortcodes.php::line 472