um_pre_args_setup

Hook type

Filter

Description

Change arguments on load shortcode

Parameters

$post_data

(string) $_POST data

Usage

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

Examples

<?php
add_filter( 'um_pre_args_setup', 'my_pre_args_setup', 10, 1 );
function my_pre_args_setup( $post_data ) {
    // your code here
return $post_data;
}
?>

Change Log

Since: 2.0

Source

um_pre_args_setup is located in includes/core/class-shortcodes.php::line 421