Automattic\WooCommerce\Internal\Admin\Orders\MetaBoxes
CustomMetaBox::output()
Renders the meta box to manage custom meta.
Method of the class: CustomMetaBox{}
No Hooks.
Return
null
. Nothing (null).
Usage
$CustomMetaBox = new CustomMetaBox(); $CustomMetaBox->output( $order_or_post );
CustomMetaBox::output() CustomMetaBox::output code WC 8.7.0
public function output( $order_or_post ) { if ( is_a( $order_or_post, \WP_Post::class ) ) { $order = wc_get_order( $order_or_post ); } else { $order = $order_or_post; } $this->render_custom_meta_form( $this->get_formatted_order_meta_data( $order ), $order ); }