WC_Meta_Box_Order_Items::output( WP_Post $post )
Output the metabox.
Description Description
Parameters Parameters
- $post
-
(Required)
Source Source
File: includes/admin/meta-boxes/class-wc-meta-box-order-items.php
public static function output( $post ) {
global $post, $thepostid, $theorder;
if ( ! is_int( $thepostid ) ) {
$thepostid = $post->ID;
}
if ( ! is_object( $theorder ) ) {
$theorder = wc_get_order( $thepostid );
}
$order = $theorder;
$data = get_post_meta( $post->ID );
include 'views/html-order-items.php';
}