Home / Admin / Submission Form Redirect
Duplicate Snippet

Embed Snippet on Your Site

Submission Form Redirect

Filter the redirect URL for successful FES Submission Form submission

Code Preview
php
<?php
function sd_fes_submission_redirect( $response, $post_id, $form_id ) {
	$response['redirect_to'] = 'http://SITEURL.com/';
	return $response;
}
add_filter( 'fes_add_post_redirect', 'sd_fes_submission_redirect', 10, 3 );

Comments

Add a Comment