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 5.9.3
function wpcf7_is_posted() { if ( ! $contact_form = wpcf7_get_current_contact_form() ) { return false; } return $contact_form->is_posted(); }