WordPress at Your Fingertips
function is not described

WC_Payment_Gateway::validate_fields() public WC 1.0

Validate frontend fields.

Validate payment fields on the frontend.

{} It's a method of the class: WC_Payment_Gateway{}

No Hooks.

Return

true|false.

Usage

$WC_Payment_Gateway = new WC_Payment_Gateway();
$WC_Payment_Gateway->validate_fields();

Code of WC_Payment_Gateway::validate_fields() WC 5.8.0

public function validate_fields() {
	return true;
}