|
/ Documentation /Developer Documentation/Filter Hooks/ srfm_after_submit_redirect_url

srfm_after_submit_redirect_url

Description

Filters the URL a user is redirected to after a successful submission (when the form is configured to redirect).

Parameters

  • $redirect_url (string) – The redirect URL.

Filter Source

PHP
/**
* filter source (Free) inc/generate-form-markup.php 
*/
 $redirect_url = apply_filters( 'srfm_after_submit_redirect_url', $redirect_url );

Filter Usage

PHP
add_filter( 'srfm_after_submit_redirect_url', 'my_callback', 10, 1 ); 
function my_callback( $redirect_url ) { 
return $redirect_url; 
}

Filter Example

PHP
add_filter( 'srfm_after_submit_redirect_url', 'my_callback', 10, 1 ); function my_callback( $redirect_url ) { 

return $redirect_url; 
}
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top