WC_Shipping_Rate::get_description()
Get rate description.
Method of the class: WC_Shipping_Rate{}
Hooks from the method
Return
String
.
Usage
$WC_Shipping_Rate = new WC_Shipping_Rate(); $WC_Shipping_Rate->get_description();
Changelog
Since 9.2.0 | Introduced. |
WC_Shipping_Rate::get_description() WC Shipping Rate::get description code WC 9.7.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 ); }