WC_Meta_Box_Product_Data::output( WP_Post $post )
Output the metabox.
Description Description
Parameters Parameters
- $post
-
(Required) Post object.
Source Source
File: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
public static function output( $post ) { global $thepostid, $product_object; $thepostid = $post->ID; $product_object = $thepostid ? wc_get_product( $thepostid ) : new WC_Product(); wp_nonce_field( 'woocommerce_save_data', 'woocommerce_meta_nonce' ); include 'views/html-product-data-panel.php'; }