Abstract_WC_Order_Data_Store_CPT::get_post_title()
Get a title for the new post type.
Method of the class: Abstract_WC_Order_Data_Store_CPT{}
No Hooks.
Return
String
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_post_title();
Abstract_WC_Order_Data_Store_CPT::get_post_title() Abstract WC Order Data Store CPT::get post title code WC 9.4.2
protected function get_post_title() { // @codingStandardsIgnoreStart /* translators: %s: Order date */ return sprintf( __( 'Order – %s', 'woocommerce' ), ( new DateTime( 'now' ) )->format( _x( 'M d, Y @ h:i A', 'Order date parsed by DateTime::format', 'woocommerce' ) ) ); // @codingStandardsIgnoreEnd }