wpcf7_is_posted()
Returns true if it is in the state that a non-Ajax submission is accepted.
Хуков нет.
Возвращает
null. Ничего (null).
Использование
wpcf7_is_posted();
Код wpcf7_is_posted() wpcf7 is posted CF7 6.1.5
function wpcf7_is_posted() {
if ( ! $contact_form = wpcf7_get_current_contact_form() ) {
return false;
}
return $contact_form->is_posted();
}