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.
How to install WP-LESS
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “WP-LESS” and pick the one by thom4.
- 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 --activateRequirements: 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.
// 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 );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.