WordPress at Your Fingertips
function is not described

WC_Order_Data_Store_CPT::get_post_excerpt() protected WC 1.0

Excerpt for post.

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

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_post_excerpt( $order );
$order(WC_Order) (required)
Order object.

Code of WC_Order_Data_Store_CPT::get_post_excerpt() WC 5.8.0

protected function get_post_excerpt( $order ) {
	return $order->get_customer_note();
}