Util

Utility functions for WooCommerce Bulk Variations.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

get_asset_url()  : mixed
get_attribute_label()  : mixed
get_compare_operators_for_filters()  : mixed
get_db_version()  : mixed
get_product_fields_for_filters()  : mixed
get_server_request_method()  : mixed
get_wc_asset_url()  : mixed
is_variations_grid_enabled()  : bool
Check weather the variations grid is enabled
normalize_attribute_name()  : mixed
sanitize_class_name()  : mixed
should_display_cart_button()  : mixed
yith_quote_active()  : bool
Check if the Yith Request A Quote Plugin Activated

Methods

get_asset_url()

public static get_asset_url([mixed $path = '' ]) : mixed
Parameters
$path : mixed = ''
Return values
mixed

get_attribute_label()

public static get_attribute_label(mixed $name[, mixed $product = '' ]) : mixed
Parameters
$name : mixed
$product : mixed = ''
Return values
mixed

get_compare_operators_for_filters()

public static get_compare_operators_for_filters() : mixed
Return values
mixed

get_db_version()

public static get_db_version() : mixed
Return values
mixed

get_product_fields_for_filters()

public static get_product_fields_for_filters() : mixed
Return values
mixed

get_server_request_method()

public static get_server_request_method() : mixed
Return values
mixed

get_wc_asset_url()

public static get_wc_asset_url([mixed $path = '' ]) : mixed
Parameters
$path : mixed = ''
Return values
mixed

is_variations_grid_enabled()

Check weather the variations grid is enabled

public static is_variations_grid_enabled() : bool
Tags
since
2.3.4
Return values
bool

normalize_attribute_name()

public static normalize_attribute_name(mixed $slug) : mixed
Parameters
$slug : mixed
Return values
mixed

sanitize_class_name()

public static sanitize_class_name(mixed $class) : mixed
Parameters
$class : mixed
Return values
mixed

should_display_cart_button()

public static should_display_cart_button() : mixed
Return values
mixed

yith_quote_active()

Check if the Yith Request A Quote Plugin Activated

public static yith_quote_active() : bool
Return values
bool

Search results