WC_Cart::get_fees()
Return all added fees from the Fees API.
Метод класса: WC_Cart{}
Хуков нет.
Возвращает
Массив
.
Использование
$WC_Cart = new WC_Cart(); $WC_Cart->get_fees();
Код WC_Cart::get_fees() WC Cart::get fees WC 8.7.0
public function get_fees() { $fees = $this->fees_api()->get_fees(); if ( property_exists( $this, 'fees' ) ) { $fees = $fees + (array) $this->fees; } return $fees; }