Created
October 3, 2012 09:55
-
-
Save noeltock/3826136 to your computer and use it in GitHub Desktop.
wp-less to style.css
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
add_filter( 'wp_less_cache_path', 'my_less_cache_path' ); | |
add_filter( 'wp_less_cache_url', 'my_less_cache_url' ) | |
function my_less_cache_path( $path ) { | |
return get_stylesheet_directory(); | |
} | |
function my_less_cache_url( $url ) { | |
return get_stylesheet_directory_uri(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Missing a semi-colon on the second add_filter