wpcf7_superglobal_get()CF7 1.0

Retrieves a sanitized value from the $_GET superglobal.

Хуков нет.

Возвращает

Разное. Sanitized value.

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

wpcf7_superglobal_get( $key, $default );
$key(строка) (обязательный)
Array key.
$default(разное)
The default value returned when the specified superglobal is not set.
По умолчанию: ''

Код wpcf7_superglobal_get() CF7 6.1.6

function wpcf7_superglobal_get( $key, $default = '' ) {
	return wpcf7_superglobal( 'get', $key ) ?? $default;
}