WPCommerce MultiDomain WPCommerce MultiDomain
  • 0
    • No products in the cart.
    • Home
    • Features
    • Pricing
    • Documentation
    • FAQ
    • Articles
    • Contact
    • My account
    WPCommerce MultiDomain WPCommerce MultiDomain
  • 0
    • No products in the cart.
    • Home
    • Features
    • Pricing
    • Documentation
    • FAQ
    • Articles
    • Contact
    • My account
    WPCommerce MultiDomain

    Documentation

    woomd/ignore_options

    Name: woomd/ignore_options
    Type: Filter
    Arguments: $ignore_options

    The filter is being used to add specific options to the ignore list, to be allowed for save separately, within each of the domains.
    The following example adds to the ignore the theme_settings option name:

    
        add_filter( 'woomd/ignore_options',     'WooMD_ignore_options');
        function  WooMD_ignore_options ( $ignore_options )
            {
                $ignore_options[] = 'theme_settings';
                 
                return $ignore_options;   
            }
    
    

    A global match can be achieved for an option using the % symbol, the following example will match all options like theme_color, theme_style, theme_layout etc:

    
        add_filter( 'woomd/ignore_options',     'WooMD_ignore_options');
        function  WooMD_ignore_options ( $ignore_options )
            {
                $ignore_options[] = 'theme_%';
                 
                return $ignore_options;   
            }
    
    

    The code should be placed inside a php file on wp-content/mu-plugins/ folder.

    Leave a Reply Cancel reply

    Recent Posts

    • Selecting the Checkout Type option – Single Checkout / Each Store February 25, 2025
    • Easy Multilingual and Multi-Currency WooCommerce Shop November 18, 2023
    • Why use WP Multi Domain for WooCommerce with default WordPress instance over MultiSite environment May 9, 2022

    Social Links

    @2025. All Rights Reserved

    Terms & Conditions | Privacy Policy

    Latest Articles

    • Selecting the Checkout Type option – Single Checkout / Each Store
      The WordPress WPCommerce Multi-Domain plugin includes powerful global shopping cart functionality, allowing customers to add...
    • Easy Multilingual and Multi-Currency WooCommerce Shop
      Using the WooCommerce Multi Domain, managing the WooCommerce Products has never been easier. Multiple Domains...
    • Why use WP Multi Domain for WooCommerce with default WordPress instance over MultiSite environment
      Creating a centralised network of shops isn’t a straightforward implementation. That requires a lot of...

    Nsp Code Follow

    Nsp-Code official Twitter account

    nspcode
    nspcode Nsp Code @nspcode ·
    5 Mar

    What is Two-Factor Authentication (2FA) and How It Enhances Your Website Security

    #WordPress #wphide #WebSecurity #2fa #security

    Reply on Twitter 1897303731747885068 Retweet on Twitter 1897303731747885068 Like on Twitter 1897303731747885068 1 Twitter 1897303731747885068
    nspcode Nsp Code @nspcode ·
    14 Feb

    Advanced Post Types Order Conditionals Explained: Fine-Tuning Sorting appliance with Superglobals data comparison when using front dynamic filters 🚀

    #WordPress #apto #woocommerce

    Reply on Twitter 1890448903033548812 Retweet on Twitter 1890448903033548812 Like on Twitter 1890448903033548812 Twitter 1890448903033548812
    Load More