Automattic\WooCommerce\Admin\Features\ProductBlockEditor

Init::dequeue_conflicting_styles()publicWC 1.0

Dequeue conflicting styles.

Method of the class: Init{}

No Hooks.

Return

null. Nothing (null).

Usage

$Init = new Init();
$Init->dequeue_conflicting_styles();

Init::dequeue_conflicting_styles() code WC 9.0.1

public function dequeue_conflicting_styles() {
	if ( ! PageController::is_admin_or_embed_page() ) {
		return;
	}
	// Dequeing this to avoid conflicts, until we remove the 'woocommerce-page' class.
	wp_dequeue_style( 'woocommerce-blocktheme' );
}