WC_Meta_Box_Order_Items::output( WP_Post $post )

Output the metabox.


Description Description


Parameters Parameters

$post

(Required)


Top ↑

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';
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.