Created
October 28, 2014 12:26
-
-
Save yoren/9b7bf2d3c5142b5c1eb2 to your computer and use it in GitHub Desktop.
Change default style number in WordPress
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 | |
function sp_wp_default_styles($styles) | |
{ | |
//use our app version constant | |
$styles->default_version = SCHOOLPRESS_VERSION; | |
} | |
add_action("wp_default_styles", "sp_wp_default_styles"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change SCHOOLPRESS_VERSION to any number you want.