WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Gateway_COD::setup_properties() WC 1.0

Setup general properties for the gateway.

Это метод класса: WC_Gateway_COD

Хуки из метода
Возвращает

Null. Ничего.

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

$WC_Gateway_COD = new WC_Gateway_COD();
$var = $WC_Gateway_COD->setup_properties();

Код WC Gateway COD::setup properties: woocommerce/includes/gateways/cod/class-wc-gateway-cod.php WC 3.6.5

<?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;
}