WC_Email_Customer_Refunded_Order::get_heading()
Get email heading.
Method of the class: WC_Email_Customer_Refunded_Order{}
Hooks from the method
Return
String
.
Usage
$WC_Email_Customer_Refunded_Order = new WC_Email_Customer_Refunded_Order(); $WC_Email_Customer_Refunded_Order->get_heading();
WC_Email_Customer_Refunded_Order::get_heading() WC Email Customer Refunded Order::get heading code WC 9.7.1
public function get_heading() { if ( $this->partial_refund ) { $heading = $this->get_option( 'heading_partial', $this->get_default_heading( true ) ); } else { $heading = $this->get_option( 'heading_full', $this->get_default_heading() ); } return apply_filters( 'woocommerce_email_heading_customer_refunded_order', $this->format_string( $heading ), $this->object, $this ); }