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: A global match can be achieved for an option using the % symbol, the following example..
Name: woomd/get_checkout_url Type: Filter Arguments: $checkout_url The filter is being used to change the $checkout_url for specific shops. As default this is being controlled through admin settings but can be adjusted to particular shops if need. The following code change the checkout url to shop default when blog_id is 4: The code should be placed inside a..
Name: woomd/sync/on_post_vars Type: Filter Arguments: $PostVars Filter being used to acknowledge the plugin engine to proceed with synchronization, usually following a custom AJAX call which is not being recognized as a WooCommerce default. (e.g. wc-ajax=add_to_cart, wc-ajax=get_refreshed_fragments) Certain plugins and themes use their own methods to handle the cart operations like add, remove. To create a compatibility between..
Name: woomd/disable_global_cart Type: Filter Arguments: $is_disabled The filter is being used to disable the Global Cart functionality. The Global Cart works as a unique cart for all shops in the MultiSite Network, a product pushed to the cart will be show on all other shops too. The code should be placed inside a php file on wp-content/mu-plugins folder…