Last active
June 21, 2017 11:26
-
-
Save bhavik-kiri/9e4f02a7ae2fb720c8bc083696b84170 to your computer and use it in GitHub Desktop.
It will enqueue the CSS file in the footer of the store
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
<?php | |
function add_css(){ | |
if ( is_checkout() ) { | |
wp_enqueue_style( 'checkout_style', plugins_url( '/assets/css/change-quantity-on-checkout.css', __FILE__ ), '', '', false ); | |
} | |
} | |
add_action( 'wp_footer', 'add_css' ), 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment