WC_Twenty_Twenty_One::enqueue_admin_styles()public staticWC 1.0

Enqueue the wp-admin CSS overrides for this theme.

Метод класса: WC_Twenty_Twenty_One{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = WC_Twenty_Twenty_One::enqueue_admin_styles();

Код WC_Twenty_Twenty_One::enqueue_admin_styles() WC 8.7.0

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'
	);
}