Theme_Integration implements Service, Registerable, Conditional

Handles compatibility and integration of WPT with specific themes.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Service
Registerable
Conditional

Table of Contents

$theme  : mixed
__construct()  : mixed
add_theme_inline_script()  : mixed
is_required()  : mixed
kallyas_ensure_valid_add_to_cart_fragments()  : mixed
register()  : mixed
uncode_child_add_to_cart_class()  : string
Add the standard 'single_add_to_cart_button' class as this is required for the add to cart buttons to work.
woodmart_load_quantity_script()  : mixed

Properties

Methods

add_theme_inline_script()

public add_theme_inline_script() : mixed
Return values
mixed

kallyas_ensure_valid_add_to_cart_fragments()

public kallyas_ensure_valid_add_to_cart_fragments(mixed $fragments) : mixed
Parameters
$fragments : mixed
Return values
mixed

uncode_child_add_to_cart_class()

Add the standard 'single_add_to_cart_button' class as this is required for the add to cart buttons to work.

public uncode_child_add_to_cart_class(string $class) : string
Parameters
$class : string

The cart button class

Return values
string

The cart button class

Search results