make sure the woocommerce-helper rtl css file is loaded

This commit is contained in:
Yoav Farhi 2020-04-05 10:59:32 +03:00
parent e3c120c1d9
commit af288e6ae1
1 changed files with 1 additions and 0 deletions

View File

@ -471,6 +471,7 @@ class WC_Helper {
if ( $wc_screen_id . '_page_wc-addons' === $screen_id && isset( $_GET['section'] ) && 'helper' === $_GET['section'] ) {
wp_enqueue_style( 'woocommerce-helper', WC()->plugin_url() . '/assets/css/helper.css', array(), Constants::get_constant( 'WC_VERSION' ) );
wp_style_add_data( 'woocommerce-helper', 'rtl', 'replace' );
}
}