WC_Shop_Customizer::add_frontend_scripts()

Frontend CSS styles.


Description Description


Source Source

File: includes/customizer/class-wc-shop-customizer.php

	public function add_frontend_scripts() {
		if ( ! is_customize_preview() || ! is_store_notice_showing() ) {
			return;
		}

		$css = '.woocommerce-store-notice, p.demo_store { display: block !important; }';
		wp_add_inline_style( 'customize-preview', $css );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.