Wppool
  • Home
  • Products
    • Privacy Policy
  • DreamLab
  • Bundle
  • Help
    • Support
+ Join Our Community Log In
Site Logo
  • Home
  • Products
    • Privacy Policy
  • DreamLab
  • Bundle
  • Help
    • Support
My Account
  • WP Dark Mode
    WP Dark Mode

    A stunning WordPress Dark Mode experience

  • FlexTable
    FlexTablehot Wppool

    Automatically sync Google Spreadsheets with WP tables

  • FormyChat
    FormyChat

    Send contact form leads to WhatsApp

  • Stock Sync
    FlexStock hot Wppool

    Sync WooCommerce stock with Google Sheet and manage easily

  • Order Sync
    FlexOrder new ⚡

    Manage WooCommerce orders from Google Sheets

  • Easy Video Reviews
    Easy Video Reviews

    Get powerful video testimonials with ease and boost sales

  • EchoRewards
    EchoRewards new ⚡

    Referral Plugin for WooCommerce

  • Jisi Meet
    FlexMeeting

    Webinar & video conferences within WordPress

  • FlexSync for Shopify
    FlexSync for Shopify new ⚡

    Manage Shopify inventory from Google Sheets

  • ArchiveMaster
    ArchiveMaster new ⚡

    Speed up your WooCommerce store by archiving old orders.

  • Chat Widgets
    OMG Chat Widget

    Let customers contact via any social channel

  • Stock Notifier
    Stock Notifier for WooCommerce

    Send alerts to customer when product is back in stock

  • Docs
  • Blogs
  • Video Tutorials
  • Join Community
  • Support & Contact

.

WP Dark Mode

34
  • How to Get Started with WP Dark Mode (Free & Ultimate)
  • How to add a floating dark mode switch to your site
  • How to Display Dark Mode Switch Using Gutenberg Block
  • How to Display Dark Mode Switch Using Elementor Widget
  • How to a Use Dark Mode Switch in Your Website Menu
  • How to Enable Content Switches Using WP Dark Mode
  • How to Use a Custom Dark Mode Switch
  • How to Use the Sky Button (Sky Switch) in WP Dark Mode
  • How to Use a Custom Dark Mode Switch (Advanced)
  • How to enable Show Switch Delay and Auto-hide Switch on Idle
  • How to Add Dark Mode Support to Login & Registration Screens
  • How to Use a Dark Mode Color Preset
  • How to Build Your Custom Color Preset in Dark Mode
  • New Default Color Preset: “Sweet Dark”
  • New Color Presets Introduced: “Tailwind” & “Midnight Bloom”
  • How to Generate an AI Custom Theme in WP Dark Mode
  • How to adjust your dark mode color scheme
  • How to Use the Image Replacement Feature of WP Dark Mode
  • How to Use the Video Replacement Feature of WP Dark Mode
  • How to Exclude/Include Specific Elements in Dark Mode
  • How to Exclude Dark Mode on Specific Pages
  • How to Use Custom Triggers in WP Dark Mode
  • How to Use Custom CSS Support in Dark Mode
  • How to Boost WP Dark Mode Performance
  • How to Adjust the Font Size on Your Website
  • How to use Dark Mode in Classic Editor
  • How to Configure AI Social Share Buttons in WP Dark Mode
  • How to Display Social Sharing Buttons in Dark Mode
  • Use of Cookies in WP Dark Mode and their Applications
  • WP Dark Mode for Developers (Methods and Hooks)
  • How to Rollback Your WordPress Plugin to An Older Version
  • WP Dark Mode – Common Issues & Troubleshooting
  • WPDarkMode JavaScript API
  • WP Dark Mode: PHP Hooks

FlexTable - Sheets to WP Table Live Sync

29
  • How to Use FlexTable with Divi Builder (Step-by-Step)
  • What is FlexTable – Sheets to WP Table Live Sync?
  • How to install and activate FlexTable Free & Pro version plugin.
  • How to create a new table with Google Sheets to WP Table Live Sync
  • How to use shortcode to create tables in WordPress with Sheets to WP Table Live Sync
  • How to use Google Sheets to WP Table Live Sync with Gutenberg block
  • How To Display Tables Directly From Elementor With Google Sheets To WP Table Live Sync
  • How to create a new table theme with Sheets to WP Table
  • How to change table styles (theme customization)
  • How to Customize Table Theme with Sheets to WP Table Live Sync
  • How to import background and font color on Google Sheets to WP Table Live Sync
  • How to customize table pagination in WordPress
  • How to import images from Google Sheets to WordPress table with Sheets to WP Table Live
  • How to sync Google Sheets links with WordPress tables
  • How to add buttons in WordPress tables
  • How to Sort and Merge Cells in WordPress Tables.
  • How to hide table rows and columns of Google Sheets table
  • How to use the multiple tab feature on Google Sheets to WP Table Live Sync
  • How to use custom CSS support in Google Sheets to WP Table Live Sync
  • How to Use the AI Summary Feature of FlexTable
  • How to use Ask AI feature in FlexTable
  • How to configure AI in FlexTable
  • FlexTable Performance Optimization
  • How to Enable Smart Caching in FlexTable
  • How to Enable Optimized Loading (Pro)
  • 📚 How to Translate Any String in Flextable (Using Loco Translate)
  • What impact does FlexTable have on SEO and Performance?
  • Why Does the Page Need to be Refreshed to Display Updates on the Website?
  • FlexTable Advanced Use-Cases (Importing Codes, Sticky Header, Line Break and More)

FlexStock - Stock Sync for WooCommerce with Google Sheet

17
  • How To Install & Setup Stock Sync for WooCommerce with Google Sheets Ultimate
  • How To Install Stock Sync for WooCommerce with Google Sheets
  • How to sync WooCommerce stock with Google Sheets
  • How to Use Real-Time Auto Sync of FlexStock with Google Sheets for WooCommerce
  • How to Use Scheduled Auto Sync of FlexStock with Google Sheets for WooCommerce
  • How to set the FlexStock Backorder management feature
  • How to manage WooCommerce product details from Google Sheets
  • How to Add WooCommerce products from Google Sheets
  • How to Bulk Edit WooCommerce products from Google Sheets
  • How to Sync WooCommerce Product Image with Google Sheets
  • How to Enable and Use FlexStock’s Advanced Formula Feature
  • How to Sync WooCommerce Custom Fields with Stock Sync with Google Sheet for WooCommerce
  • Getting Started with Multivendor Addon for FlexStock
  • How to Manage Dokan Vendors with FlexStock and Google Sheets
  • Display Shop/Vendor Name Column (How to Enable or Disable It)
  • Solving the REST API Blocked Issue in Your Website.
  • Possible Errors and Solutions

FlexOrder - Order Sync with Google Sheets for WooCommerce

14
  • How To Setup FlexOrder
  • How to manage WooCommerce orders from Google Sheets
  • How to Filter WooCommerce Orders by Status and Date range
  • How to Sync Custom Order Statuses with Google Sheets
  • How to Sync Order Notes from Google Sheets
  • How to Bulk Edit WooCommerce Orders Using Google Sheets
  • How to edit shipping and billing addresses from Google Sheets
  • How to Display Products in Separate Rows in FlexOrder
  • How to create WooCommerce orders from Google Sheets
  • How To Sync WooCommerce Custom Order Fields
  • How To Update WooCommerce Orders from Google Sheets
  • How to export WooCommerce orders to Google Sheets
  • Known Errors & Solutions
  • Solving the REST API Blocked Issue in Your Website.

FlexMeeting - Webinar and Video Conference with Jitsi Meet

21
  • How to install and use Jitsi Meet
  • How to activate Jitsi Meet PRO
  • How to Use Jitsi Meet Free, JaaS 8×8 & Self Hosted Server
  • How to get the app ID, API key, and private key in Jitsi Meet
  • Jitsi Meet hosted solution
  • How to Configure the CNAME Record
  • How to create a meeting on Jitsi Meet Pro
  • How meeting registration works in Jitsi Meet
  • How recurring meeting works in Jitsi Meet
  • How to use shortcode to display meeting with Jitsi Meet
  • How to display Meeting directly from Gutenberg block and Elementor with Jitsi Meet
  • How to Enable Meeting from Frontend with Jitsi Meet
  • How to Add Jitsi Meeting in Dokan Multivendor Plugin with Jitsi Meet Multivendor Addon
  • How to Add Jitsi Meeting in MultiVendorX with Jitsi Meet Multivendor Addon
  • How to Add Jitsi Meeting in WCFM Marketplace with Jitsi Meet Multivendor Addon
  • How to record meeting on Jitsi Meet
  • How to do live streaming in Jitsi Meet
  • How to Add a Jitsi Meeting in Tutor LMS
  • How To Add a Jitsi Meeting in LearnPress
  • How to add Meeting in LearnDash LMS with Jitsi Meet
  • How to use LearnDash and Tutor LMS in Jitsi Meet

FormyChat

17
  • How to Send FormyChat Leads to Google Sheets
  • How to install and setup FormyChat
  • How to install and setup FormyChat Ultimate
  • How to Customize FormyChat Widget
  • How to send contact form data to WhatsApp
  • How to send Contact Form 7 data to WhatsApp
  • How to send contact form leads to email
  • How to add Ninja Form to WhatsApp with FormyChat
  • How to create multiple floating chat widgets
  • How to create Multi-Agent Chat Support Widget
  • How to Enable FluentCRM Integration in FormyChat.
  • How to Connect FormyChat with Mailchimp
  • How to Enable the WhatsApp Button on the Shop Page and Product Page Using FormyChat
  • How to Add Custom CSS for FormyChat Widgets
  • How to setup and customize the welcome popup (greetings widget)
  • How to Set Up Google Analytics on FormyChat & View Form Conversions
  • How to Modify FormyChat Form Fields with the “formychat_form_fields” Hook

Easy Video Reviews

14
  • How to get started with Easy Video Reviews (Onboarding steps)
  • How to collect a testimonial from customers
  • How to add testimonials on your website
  • How to update your Easy Video Reviews settings
  • How to create a Wall of Love testimonial page using Review Gallery
  • How to use Gutenberg for collecting and displaying video testimonials
  • How to use Elementor for collecting and displaying video testimonials
  • How to collect testimonials with a floating review widget
  • How to download testimonials with Easy Video Reviews
  • How to translate testimonial fields in Easy Video Reviews
  • How to create and edit review form fields
  • How to collect customer testimonials on WooCommerce
  • How to collect video testimonials on Easy Digital Downloads (EDD)
  • Advanced customizations: Javascript triggers, dynamic tag for testimonial recorder, HTML attribute for recorder button

EchoRewards

2
  • EchoRewards Documentation
  • 📚 How to Translate Any String in EchoRewards (Using Loco Translate)

OMG Chat Widget

4
  • How to use OMG Chat Widget in any WordPress website
  • How to use OMG Chat Widget in WooCommerce Multivendor Marketplace (WCFM Marketplace)
  • How to use OMG Chat Widget in Dokan – Best WooCommerce Multivendor Marketplace Solution
  • How to use OMG Chat Widget in MultiVendorX (Formerly WC Vendor Marketplace)

ArchiveMaster

21
  • How to Include Archived Orders Data in WooCommerce Analytics
  • What is ArchiveMaster
  • How to Install & Use ArchiveMaster
  • How to Enable Automatic Archiving for Old Orders
  • How to Archive Orders by Status with ArchiveMaster.
  • How to Exclude active subscription& membership orders from archiving.
  • 📖 How to View Archived Orders Using Filters in ArchiveMaster.
  • How to Export Old Orders Using ArchiveMaster
  • How to Unarchive orders with ArchiveMaster
  • How to show the customer’s Archived Order on the WooCommerce My Account Page.
  • How to Export Archived Orders With ArchiveMaster
  • How to Permanently Delete Archived Orders with ArchiveMaster
  • How to Archive WooCommerce Orders to Google Drive 
  • How to Set Up Custom MySQL Storage in ArchiveMaster for WooCommerce Orders Archiving.
  • How to Create an Amazon RDS Database for ArchiveMaster
  • How to Connect Amazon RDS Remote Database with ArchiveMaster
  • How to Enable the PDO SQLite Extension in Your Server’s PHP Configuration
  • Choosing the Right AWS RDS Plan
  • How to Reset and Recover Your RDS Database Password
  • How to Configure a Custom MySQL Database for ArchiveMaster
  • Considerations & Impact on Archived Data When Archive Storage is Switched

Revio

1
  • How to get started with Revio (Onboarding steps)
  • Home
  • Documentation
  • WP Dark Mode
  • WPDarkMode JavaScript API
View Categories

WPDarkMode JavaScript API

The WPDarkMode object is available globally on the frontend of every page where the WP Dark Mode plugin is active. It provides a small set of useful methods and properties to control or detect dark mode state in real-time via JavaScript.

✅ What is it? #

WPDarkMode is a singleton instance of an internal DarkMode class that handles dark mode toggling, device preference detection, and user choice memory. You can use it to integrate custom behavior into your theme or plugin.


Available Methods & Properties #

WPDarkMode.isActive → Boolean #

Returns true if dark mode is currently active on the page, otherwise false.

if (WPDarkMode.isActive) {

console.log('Dark mode is ON');

}

WPDarkMode.isDeviceDark → Boolean #

Returns true if the user’s device is set to dark mode preference via OS.

if (WPDarkMode.isDeviceDark) {

console.log('User prefers dark mode by system setting');

}

WPDarkMode.activate() #

Forces dark mode on, regardless of user/device settings. 

WPDarkMode.activate();

WPDarkMode.deactivate() #

Turns off dark mode manually.

WPDarkMode.deactivate();

WPDarkMode.toggle() #

Toggles between active/inactive states based on current mode.

WPDarkMode.toggle();

WPDarkMode.remember() #

Saves the current dark mode choice (light or dark) to local storage. This is typically called after a toggle to persist user preference.

WPDarkMode.toggle();

WPDarkMode.remember();

WPDarkMode.forget() #

Deletes any stored user choice or system detection. On next visit, the mode will be determined fresh.

WPDarkMode.forget();

Tracking Changes #

Dark mode state changes trigger a wp_dark_mode custom event. You can listen for it to respond when users toggle between modes.

window.addEventListener('wp_dark_mode', function (e) {

console.log('Dark mode is now:', e.detail.isActive ? 'ON' : 'OFF');

});
What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on June 25, 2025
WP Dark Mode – Common Issues & TroubleshootingWP Dark Mode: PHP Hooks

Add your first comment to this post

Table of Contents
  • ✅ What is it?
  • Available Methods & Properties
    • WPDarkMode.isActive → Boolean
    • WPDarkMode.isDeviceDark → Boolean
    • WPDarkMode.activate()
    • WPDarkMode.deactivate()
    • WPDarkMode.toggle()
    • WPDarkMode.remember()
    • WPDarkMode.forget()
  • Tracking Changes

Products

  • WP Dark Mode
    WP Dark Mode
  • FlexTable
    FlexTable
  • FormyChat
    FormyChat
  • Stock Sync
    FlexStock
  • FlexOrder
    FlexOrder
  • Easy Video Reviews
    Easy Video Reviews
  • EchoRewards
    EchoRewards
  • Jisi Meet
    FlexMeeting
  • FlexSync for Shopify
    FlexSync for Shopify
  • ArchiveMaster
    ArchiveMaster
  • Chat Widgets
    OMG Chat Widget
  • Stock Notifier
    Stock Notifier for WooCommerce

Links

  • Home
  • Blog
  • About Us
  • Support
  • Partners
  • Affiliates
  • Influencer Program
  • Careers
  • Privacy Policy
  • Terms of Service

Our Blog

Flexstock dedicated blog
January 19, 2026
FlexStock v3.15.1 – Easier, Faster, and Smarter for Your Daily Workflow
WPPOOL Year in review 2025
January 13, 2026
WPPOOL Year in Review – 2025
FormyChat WooCommerce WhatsApp integration showing Buy on WhatsApp button on product pages
December 20, 2025
FormyChat WooCommerce Integration: Add “Buy on WhatsApp” Button to Your WooC

Logo

Experience remarkable WordPress products with a new level of power, beauty, and human-centered designs.

Trustpilot
© 2026 WPPOOL. All Rights Reserved.