Automattic\WooCommerce\Internal\Admin

ShippingLabelBanner::meta_box()publicWC 1.0

Render placeholder metabox.

Method of the class: ShippingLabelBanner{}

No Hooks.

Return

null. Nothing.

Usage

$ShippingLabelBanner = new ShippingLabelBanner();
$ShippingLabelBanner->meta_box( $post, $args );
$post(\WP_Post) (required)
current post.
$args(array) (required)
empty args.

ShippingLabelBanner::meta_box() code WC 7.1.0

<?php
public function meta_box( $post, $args ) {

	?>
	<div id="wc-admin-shipping-banner-root" class="woocommerce <?php echo esc_attr( 'wc-admin-shipping-banner' ); ?>" data-args="<?php echo esc_attr( wp_json_encode( $args['args'] ) ); ?>">
	</div>
	<?php
}