wpcf7_superglobal_post()
Retrieves a sanitized value from the $_POST superglobal.
Хуков нет.
Возвращает
Разное. Sanitized value.
Использование
wpcf7_superglobal_post( $key, $default );
- $key(строка) (обязательный)
- Array key.
- $default(разное)
- The default value returned when the specified superglobal is not set.
По умолчанию:''
Код wpcf7_superglobal_post() wpcf7 superglobal post CF7 6.1.6
function wpcf7_superglobal_post( $key, $default = '' ) {
return wpcf7_superglobal( 'post', $key ) ?? $default;
}