wordpress-website-lifecycle/mu-plugins/_core-disable-custom-css.php
Viktor Szépe b293a4158f
Some checks failed
Back-end / Syntax errors (push) Has been cancelled
Integrity / Integrity (push) Has been cancelled
Spelling / 文A Typos check (push) Has been cancelled
Add disable-custom-css
2025-12-03 22:51:24 +01:00

15 lines
271 B
PHP

<?php
/*
* Plugin Name: Disable Customizer CSS
* Plugin URI: https://github.com/szepeviktor/wordpress-website-lifecycle
*/
add_action(
'customize_register',
static function ($manager) {
$manager->remove_section('custom_css');
},
20,
1
);