WC_Shipping_Rate::get_cost()
Get rate cost.
Метод класса: WC_Shipping_Rate{}
Хуки из метода
Возвращает
Строку
.
Использование
$WC_Shipping_Rate = new WC_Shipping_Rate(); $WC_Shipping_Rate->get_cost();
Список изменений
С версии 3.2.0 | Введена. |
Код WC_Shipping_Rate::get_cost() WC Shipping Rate::get cost WC 8.7.0
public function get_cost() { return apply_filters( 'woocommerce_shipping_rate_cost', $this->data['cost'], $this ); }