wpcf7_get_request_uri()CF7 1.0

Returns the current request URL.

Хуков нет.

Возвращает

null. Ничего (null).

Использование

wpcf7_get_request_uri();

Код wpcf7_get_request_uri() CF7 5.9.3

function wpcf7_get_request_uri() {
	static $request_uri = '';

	if ( empty( $request_uri ) ) {
		$request_uri = add_query_arg( array() );
	}

	return sanitize_url( $request_uri );
}