WC_Shipping_Rate::get_id()
Get ID for the rate. This is usually a combination of the method and instance IDs.
Метод класса: WC_Shipping_Rate{}
Хуки из метода
Возвращает
Строку
.
Использование
$WC_Shipping_Rate = new WC_Shipping_Rate(); $WC_Shipping_Rate->get_id();
Список изменений
С версии 3.2.0 | Введена. |
Код WC_Shipping_Rate::get_id() WC Shipping Rate::get id WC 9.4.2
public function get_id() { return apply_filters( 'woocommerce_shipping_rate_id', $this->data['id'], $this ); }