Skip to content

Commit 2d9dea9

Browse files
authored
Update wc-performance-improvements.php
Remove admin install nag.
1 parent 1720166 commit 2d9dea9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

wc-performance-improvements.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ function deregister_or_dequeue_scripts() {
7777
// Remove connect your store to WooCommerce.com admin notice
7878
add_filter( 'woocommerce_helper_suppress_admin_notices', '__return_true' );
7979

80-
// Remove the WooCommerce Admin Install Nag
81-
wp_deregister_style( 'wc-block-style' );
82-
8380
// Deregister block style from WooCommerce
8481
add_filter( 'woocommerce_show_admin_notice', 'wc_disable_wc_admin_install_notice', 10, 2 );
8582
function wc_disable_wc_admin_install_notice( $notice_enabled, $notice ) {

0 commit comments

Comments
 (0)