WP-LESS icon
Utilities

WP-LESS

Implementation of LESS (Leaner CSS) in order to make themes development easier.

  • By thom4
  • v1.9.8
  • Updated

Overview

WP-LESS describes itself as: “Implementation of LESS (Leaner CSS) in order to make themes development easier.”

It is active on 10,000+ WordPress sites and rated 4.6 out of 5 by 19 users on WordPress.org. Developers can extend it through 7 actions and 6 filters, listed below.

We haven't published a hands-on review of WP-LESS yet. Want one, or need help with it? Send us a request.

How to install WP-LESS

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “WP-LESS” and pick the one by thom4.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install wp-less --activate

Requirements: WordPress 3.2+ · tested up to WordPress 5.8.19

Hooks & customisation

WP-LESS 1.9.8 fires 7 actions and 6 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

wp-less — top hooks
// Filter in lib/Plugin.class.php
apply_filters( 'wp_less_compiler', 'wikimedia/less.php' );

// Filter in lib/Compiler.class.php
apply_filters( 'wp-less_compiler_construct', $file );

// Action in lib/Compiler.class.php
do_action( 'wp-less_compiler_construct_pre', $this, $file );

// Filter in lib/Plugin.class.php
apply_filters( 'wp-less_get_queued_styles_to_process', $to_process );

// Action in lib/Plugin.class.php
do_action( 'wp-less_init', $this );

// Action in lib/Plugin.class.php
do_action( 'wp-less_init_admin', $this );

Browse all 13 hooks with examples →

Need WP-LESS customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with thom4. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.

Alternatives in Utilities

See all →

Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.

2+ million installs 28 hooks

Easily add Custom CSS or JS to your website with an awesome editor.

600,000+ installs 7 hooks

This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two…

500,000+ installs

Web Accessibility (formally known as Ally) is a free, powerful, and user-friendly plugin that helps WordPress creators build more accessible…

500,000+ installs 18 hooks