WC_Twenty_Twenty_One::enqueue_admin_styles()public staticWC 1.0

Enqueue the wp-admin CSS overrides for this theme.

Method of the class: WC_Twenty_Twenty_One{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Twenty_Twenty_One::enqueue_admin_styles();

WC_Twenty_Twenty_One::enqueue_admin_styles() code WC 9.4.2

public static function enqueue_admin_styles() {
	wp_enqueue_style(
		'woocommerce-twenty-twenty-one-admin',
		str_replace( array( 'http:', 'https:' ), '', WC()->plugin_url() ) . '/assets/css/twenty-twenty-one-admin.css',
		'',
		Constants::get_constant( 'WC_VERSION' ),
		'all'
	);
}