Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
wp-less to style.css
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();

cwulff commented Mar 4, 2013

Missing a semi-colon on the second add_filter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment