WC_Payment_Gateway::has_fields
Check if the gateway has fields on the checkout.
Method of the class: WC_Payment_Gateway{}
No Hooks.
Returns
true|false
.
Usage
$WC_Payment_Gateway = new WC_Payment_Gateway(); $WC_Payment_Gateway->has_fields();
WC_Payment_Gateway::has_fields() WC Payment Gateway::has fields code WC 9.9.4
public function has_fields() { return (bool) $this->has_fields; }