WC_Meta_Box_Order_Items::output()
Output the metabox.
Method of the class: WC_Meta_Box_Order_Items{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WC_Meta_Box_Order_Items::output( $post );
WC_Meta_Box_Order_Items::output() WC Meta Box Order Items::output code WC 9.8.2
public static function output( $post ) { global $post, $thepostid, $theorder; OrderUtil::init_theorder_object( $post ); if ( ! is_int( $thepostid ) && ( $post instanceof WP_Post ) ) { $thepostid = $post->ID; } $order = $theorder; $data = ( $post instanceof WP_Post ) ? get_post_meta( $post->ID ) : array(); include __DIR__ . '/views/html-order-items.php'; }