wpcf7_is_posted()CF7 1.0

Returns true if it is in the state that a non-Ajax submission is accepted.

Хуков нет.

Возвращает

null. Ничего.

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

wpcf7_is_posted();

Код wpcf7_is_posted() CF7 5.6.4

function wpcf7_is_posted() {
	if ( ! $contact_form = wpcf7_get_current_contact_form() ) {
		return false;
	}

	return $contact_form->is_posted();
}