Skip to content

Instantly share code, notes, and snippets.

@masumskaib396
Last active November 10, 2018 08:53
Show Gist options
  • Save masumskaib396/fd2d3542fa4903e07a9d39197bb49772 to your computer and use it in GitHub Desktop.
Save masumskaib396/fd2d3542fa4903e07a9d39197bb49772 to your computer and use it in GitHub Desktop.
//your local site url adding
if (site_url() == 'http://localhost/philosophy') {
define('VERSION', time());
}else{
define('VERSION', wp_get_theme()->get('VERSION'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment