WC_Twenty_Twenty_One::enqueue_admin_styles
Enqueue the wp-admin CSS overrides for this theme.
Method of the class: WC_Twenty_Twenty_One{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = WC_Twenty_Twenty_One::enqueue_admin_styles();
WC_Twenty_Twenty_One::enqueue_admin_styles() WC Twenty Twenty One::enqueue admin styles code WC 10.4.3
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'
);
}