Search
woogc/sync/bounce_sync - WP Global Cart
15980
documentation-template-default,single,single-documentation,postid-15980,theme-awake,eltd-core-1.1,woocommerce-no-js,awake child-child-ver-1.0.0,awake-ver-1.0,eltd-smooth-scroll,eltd-smooth-page-transitions,eltd-mimic-ajax,eltd-grid-1200,eltd-blog-installed,eltd-default-style,eltd-fade-push-text-top,eltd-header-standard,eltd-sticky-header-on-scroll-down-up,eltd-default-mobile-header,eltd-sticky-up-mobile-header,eltd-menu-item-first-level-bg-color,eltd-dropdown-slide-from-top,eltd-,eltd-fullscreen-search eltd-search-fade,eltd-side-menu-slide-from-right,wpb-js-composer js-comp-ver-6.3.0,vc_responsive
 

woogc/sync/bounce_sync

WP Global Cart / woogc/sync/bounce_sync
Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on TumblrPin on PinterestEmail this to someonePrint this page

woogc/sync/bounce_sync

Deprecated notice: The recent tracking privacy cookie policy changes, the filter is deprecated. Instead, the synchronisation screen is used for all browsers to ensure compatibility.

Name: woogc/sync/bounce_sync
Type: Filter
Arguments: $sites, $context

The synchronization procedure ensures the cart maintains unitary across all shops in the network. The procedure triggers in the background or through a synchronization screen ( mainly for the Safari browser ).

The filter instructs the code to use only the synchronization screen for all devices and browsers.


    add_filter('woogc/sync/bounce_sync', 'woogc_sync_bounce_sync');
    function woogc_sync_bounce_sync( $status )
        {
            $status =   'true';
    
            return $status ;
        }

The snippet code goes into a php file on wp-content/mu-plugins folder.

0
Would love your thoughts, please comment.x
()
x