WC_Email_Customer_Invoice::get_default_heading
Get email heading.
Method of the class: WC_Email_Customer_Invoice{}
No Hooks.
Returns
String.
Usage
$WC_Email_Customer_Invoice = new WC_Email_Customer_Invoice(); $WC_Email_Customer_Invoice->get_default_heading( $paid );
- $paid(true|false)
- Whether the order has been paid or not.
Default:false
Changelog
| Since 3.1.0 | Introduced. |
WC_Email_Customer_Invoice::get_default_heading() WC Email Customer Invoice::get default heading code WC 10.7.0
public function get_default_heading( $paid = false ) {
return __( 'Details for order #{order_number}', 'woocommerce' );
}