WordPress at Your Fingertips
function is not described

WC_Order_Refund_Data_Store_CPT::get_post_title() protected WC 1.0

Get a title for the new post type.

{} It's a method of the class: WC_Order_Refund_Data_Store_CPT{}

No Hooks.




// protected - for code of main (parent) or child class
$result = $this->get_post_title();

Code of WC_Order_Refund_Data_Store_CPT::get_post_title() WC 5.6.0

protected function get_post_title() {
	return sprintf(
		/* translators: %s: Order date */
		__( 'Refund – %s', 'woocommerce' ),
		strftime( _x( '%b %d, %Y @ %I:%M %p', 'Order date parsed by strftime', 'woocommerce' ) ) // phpcs:ignore WordPress.WP.I18n.MissingTranslatorsComment, WordPress.WP.I18n.UnorderedPlaceholdersText