um_browser_url_redirect_to__filter

Hook type

Filter

Description

Add redirect to field to form and change URL for it

Parameters

$url

(string) Redirect to URL

Usage

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

Examples

<?php
add_filter( 'um_browser_url_redirect_to__filter', 'my_browser_url_redirect_to', 10, 1 );
function my_browser_url_redirect_to( $url ) {
    // your code here
return $url;
}
?>

Change Log

Since: 2.0

Source

um_browser_url_redirect_to__filter is located in includes/core/um-actions-misc.php::line 65