Theme_Compat implements Standard_Service, Registerable

Handles the integration with all the uspported themes.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Standard_Service
Registerable

Table of Contents

register()  : mixed
set_cart_for_divi_modules()  : void
Set the cart environment for DIVI modules.

Methods

register()

public register() : mixed
Tags
Return values
mixed

set_cart_for_divi_modules()

Set the cart environment for DIVI modules.

public set_cart_for_divi_modules(mixed $content, mixed $props, mixed $attrs, mixed $render_slug) : void

The DIVI Cart modules do not set the cart environment, actions and filters correctly so we need to do it manually before the cart output is generated.

Parameters
$content : mixed
$props : mixed
$attrs : mixed
$render_slug : mixed
Tags
Return values
void

Search results