WC_Shipping_Rate::get_description
Get rate description.
Метод класса: WC_Shipping_Rate{}
Хуки из метода
Возвращает
Строку.
Использование
$WC_Shipping_Rate = new WC_Shipping_Rate(); $WC_Shipping_Rate->get_description();
Список изменений
| С версии 9.2.0 | Введена. |
Код WC_Shipping_Rate::get_description() WC Shipping Rate::get description WC 10.8.1
public function get_description() {
/**
* Filter the shipping rate description.
*
* @since 9.2.0
*
* @param string $description The current description.
* @param WC_Shipping_Rate $this The shipping rate.
*/
return apply_filters( 'woocommerce_shipping_rate_description', $this->data['description'], $this );
}