WC_Order_Refund::get_post_title()publicWC 1.0

Get a title for the new post type.

Method of the class: WC_Order_Refund{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Order_Refund = new WC_Order_Refund();
$WC_Order_Refund->get_post_title();

WC_Order_Refund::get_post_title() code WC 8.7.0

public function get_post_title() {
	// @codingStandardsIgnoreStart
	return sprintf( __( 'Refund – %s', 'woocommerce' ), (new DateTime('now'))->format( _x( 'M d, Y @ h:i A', 'Order date parsed by DateTime::format', 'woocommerce' ) ) );
	// @codingStandardsIgnoreEnd
}