Created
March 29, 2018 22:41
-
-
Save jesseeproductions/608f1ba333a9f368a5bff791db84ac2a to your computer and use it in GitHub Desktop.
Load Coupon Creator Pro CSS in Header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'wp_enqueue_scripts', 'cctor_enqueue_assets', 11 ); | |
function cctor_enqueue_assets() { | |
if ( ! is_admin() ) { | |
// @formatter:off | |
wp_enqueue_style( | |
'coupon_creator_css', | |
Cctor__Coupon__Pro__Main::instance()->resource_url . 'css/coupon-pro.css', | |
array( 'pngx-font-awesome' ), | |
filemtime( Cctor__Coupon__Pro__Main::instance()->resource_path . 'css/coupon-pro.css' ) | |
); | |
// @formatter:on | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment