WC_Gateway_COD::setup_properties()
Setup general properties for the gateway.
Description Description
Source Source
File: includes/gateways/cod/class-wc-gateway-cod.php
protected function setup_properties() { $this->id = 'cod'; $this->icon = apply_filters( 'woocommerce_cod_icon', '' ); $this->method_title = __( 'Cash on delivery', 'woocommerce' ); $this->method_description = __( 'Have your customers pay with cash (or by other means) upon delivery.', 'woocommerce' ); $this->has_fields = false; }