display($post_id); } }, 10, 2); add_action('admin_enqueue_scripts', function () { wp_register_style('usb_label_style_products_page', false); wp_enqueue_style('usb_label_style_products_page'); wp_add_inline_style('usb_label_style_products_page', " table.wp-list-table .column-usb_label{ width: 90px !important; text-align: center !important;} // table.wp-list-table .uslp-label-column-button span.dashicons-before::before {padding-top: 8px;} .barcodes-import-single-product {float: right;margin-left: 5px !important;} "); }); } public function display($postId) { $post = get_post($postId); $product = \wc_get_product($postId); include Variables::$A4B_PLUGIN_BASE_PATH . 'src/templates/products/import-label-column-button.php'; } public function getIntegrationTypes() { return array( ProductsShortcode::fullIntegrationSlug() ); } }