Created
February 19, 2018 15:06
-
-
Save acodesmith/e92dfb40cbbc108f772038f445ab0883 to your computer and use it in GitHub Desktop.
Add version to WooCommerce Storefront Child Theme
This file contains 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 | |
add_action('wp_enqueue_scripts', function() { | |
global $wp_styles; | |
if( ! empty( $wp_styles->registered['storefront-child-style'] ) ) { | |
$wp_styles->registered['storefront-child-style']->ver = '0.0.1'; | |
} | |
}, 40); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment