wpcf7_get_request_uri()
Returns the current request URL.
Хуков нет.
Возвращает
null
. Ничего.
Использование
wpcf7_get_request_uri();
Код wpcf7_get_request_uri() wpcf7 get request uri CF7 5.7.5.1
function wpcf7_get_request_uri() { static $request_uri = ''; if ( empty( $request_uri ) ) { $request_uri = add_query_arg( array() ); } return sanitize_url( $request_uri ); }