bbp_get_redirect_to()

Return the unescaped redirect_to request value

Description

Return

(string) The URL to redirect to, if set

Source

File: bp-forums/common/functions.php

function bbp_get_redirect_to() {
	$retval = !empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '';

	return apply_filters( 'bbp_get_redirect_to', $retval );
}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.