Theme_Compat implements Registerable, Standard_Service

Theme-specific overrides for WooCommerce Wholesale Pro

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Standard_Service

Table of Contents

$template  : string
The template name of the current theme.
bootstrap_login_column_class()  : string
Add classes for login register form.
bootstrap_login_register_columns_wrap_class()  : string
Add classes for login register form.
bootstrap_login_register_css()  : mixed
bootstrap_register_column_class()  : string
Add classes for login register form.
disable_table_layout()  : mixed
divi_disregard_wholesale_price()  : mixed
enable_table_layout()  : mixed
flatsome_hide_price_ux_add_to_cart()  : mixed
The hide price till login feature relies on the 'woocommerce_single_product_summary' hook.
flatsome_login_column_class()  : string
Add classes for login register form.
flatsome_login_register_columns_wrap_class()  : string
Add classes for login register form.
flatsome_register_column_class()  : string
Add classes for login register form.
register()  : mixed
{@inheritdoc}

Properties

$template

The template name of the current theme.

private string $template = ''
Tags

Methods

bootstrap_login_column_class()

Add classes for login register form.

public bootstrap_login_column_class(string $class) : string
Parameters
$class : string
Tags
Return values
string

bootstrap_login_register_columns_wrap_class()

Add classes for login register form.

public bootstrap_login_register_columns_wrap_class(string $class) : string
Parameters
$class : string
Tags
Return values
string

bootstrap_login_register_css()

public bootstrap_login_register_css() : mixed
Tags
Return values
mixed

bootstrap_register_column_class()

Add classes for login register form.

public bootstrap_register_column_class(string $class) : string
Parameters
$class : string
Tags
Return values
string

disable_table_layout()

public disable_table_layout() : mixed
Tags
Return values
mixed

divi_disregard_wholesale_price()

public divi_disregard_wholesale_price(mixed $disregard, mixed $product) : mixed
Parameters
$disregard : mixed
$product : mixed
Tags
Return values
mixed

enable_table_layout()

public enable_table_layout() : mixed
Tags
Return values
mixed

flatsome_hide_price_ux_add_to_cart()

The hide price till login feature relies on the 'woocommerce_single_product_summary' hook.

public flatsome_hide_price_ux_add_to_cart(string $output, string $tag) : mixed

In some cases the user might use the Flatsome UX Builder shortcodes in which case we need to filter the [ux_product_add_to_cart] shortcode directly.

Parameters
$output : string
$tag : string
Tags
Return values
mixed

flatsome_login_column_class()

Add classes for login register form.

public flatsome_login_column_class(string $class) : string
Parameters
$class : string
Tags
Return values
string

flatsome_login_register_columns_wrap_class()

Add classes for login register form.

public flatsome_login_register_columns_wrap_class(string $class) : string
Parameters
$class : string
Tags
Return values
string

flatsome_register_column_class()

Add classes for login register form.

public flatsome_register_column_class(string $class) : string
Parameters
$class : string
Tags
Return values
string

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

Search results