This Page Doesn’t Exist
The page you’re looking for may have moved, been renamed, or never existed.
/* ── Disable WP Dark Mode plugin — it overwrites all colors ── */ add_action('init', function() { /* Remove WP Dark Mode hooks */ remove_action('wp_head', array('WP_Dark_Mode', 'inline_style'), 10); remove_action('wp_footer', array('WP_Dark_Mode', 'inline_style'), 10); remove_action('wp_head', array('WP_Dark_Mode', 'render_inline_style'), 10); /* Disable via option override */ add_filter('pre_option_wp_dark_mode_enabled', '__return_zero'); add_filter('pre_option_wp_dark_mode_settings', function($v) { return array('enabled' => false, 'is_active' => false); }); /* Remove the data-wp-dark-mode-* attribute injections */ add_filter('wp_dark_mode_is_enabled', '__return_false'); add_filter('wp_dark_mode_active', '__return_false'); }, 1); /* Strip WP Dark Mode inline CSS from wp_head entirely */ add_action('wp_enqueue_scripts', function() { wp_dequeue_style('wp-dark-mode'); wp_dequeue_style('wp-dark-mode-inline'); wp_dequeue_style('wp-dark-mode-frontend'); wp_dequeue_script('wp-dark-mode'); wp_dequeue_script('wp-dark-mode-frontend'); wp_deregister_style('wp-dark-mode'); wp_deregister_script('wp-dark-mode'); }, 999);
The page you’re looking for may have moved, been renamed, or never existed.