Skip to content

Commit

Permalink
Fix add_print_shipping_label_script
Browse files Browse the repository at this point in the history
  • Loading branch information
chihsuan committed Feb 22, 2024
1 parent 1206fcb commit fcdeed1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private function count_shippable_items( \WC_Order $order ) {
* @param string $hook current page hook.
*/
public function add_print_shipping_label_script( $hook ) {
WCAdminAssets::register_style( 'print-shipping-label-banner-style', 'style', array( 'wp-components' ) );
WCAdminAssets::register_style( 'print-shipping-label-banner', 'style', array( 'wp-components' ) );
WCAdminAssets::register_script( 'wp-admin-scripts', 'print-shipping-label-banner', true );

$payload = array(
Expand Down

0 comments on commit fcdeed1

Please sign in to comment.