WPCF7_ConfigValidator::validate()
The main validation runner.
Метод класса: WPCF7_ConfigValidator{}
Хуки из метода
Возвращает
true|false
. True if there is no error detected.
Использование
$WPCF7_ConfigValidator = new WPCF7_ConfigValidator(); $WPCF7_ConfigValidator->validate();
Код WPCF7_ConfigValidator::validate() WPCF7 ConfigValidator::validate CF7 5.9.8
public function validate() { $this->validate_form(); $this->validate_mail( 'mail' ); $this->validate_mail( 'mail_2' ); $this->validate_messages(); $this->validate_additional_settings(); do_action( 'wpcf7_config_validator_validate', $this ); return $this->is_valid(); }