WC_Email_Customer_POS_Refunded_Order::get_subject
Get email subject.
Method of the class: WC_Email_Customer_POS_Refunded_Order{}
Hooks from the method
Returns
String.
Usage
$WC_Email_Customer_POS_Refunded_Order = new WC_Email_Customer_POS_Refunded_Order(); $WC_Email_Customer_POS_Refunded_Order->get_subject();
WC_Email_Customer_POS_Refunded_Order::get_subject() WC Email Customer POS Refunded Order::get subject code WC 10.7.0
public function get_subject() {
if ( $this->partial_refund ) {
$subject = $this->get_option( 'subject_partial', $this->get_default_subject( true ) );
} else {
$subject = $this->get_option( 'subject_full', $this->get_default_subject() );
}
/**
* Filter the email subject for customer refunded order.
*
* @param string $subject The email subject.
* @param WC_Order $order Order object.
* @param WC_Email_Customer_POS_Refunded_Order $email Email object.
* @since 3.7.0
*/
return apply_filters( 'woocommerce_email_subject_customer_refunded_order', $this->format_string( $subject ), $this->object, $this );
}