Home / Admin / FES Registration Form Redirect
Duplicate Snippet

Embed Snippet on Your Site

FES Registration Form Redirect

Set custom redirect URLs for those who just registered to become vendors.

Code Preview
php
<?php
function custom_fes_vendor_registration_redirect( $response, $post_id, $form_id ) {
	// replace http://google.com/ with your desired redirect URL
	$response['redirect_to'] = 'http://google.com/';
	return $response;
}
add_filter( 'fes_register_form_pending_vendor', 'custom_fes_vendor_registration_redirect', 10, 3 );
add_filter( 'fes_register_form_frontend_vendor', 'custom_fes_vendor_registration_redirect', 10, 3 );

Comments

Add a Comment