Constants

OPTION_NAME

OPTION_NAME

Properties

$settings

$settings :

Type

Methods

absfloat()

absfloat(  $val)

Parameters

$val

get_settings()

get_settings()

get_default_settings()

get_default_settings()

convert_settings_from_wc_format()

convert_settings_from_wc_format(  $settings)

Parameters

$settings

convert_settings_to_wc_format()

convert_settings_to_wc_format(  $settings)

Parameters

$settings

get_asset_url()

get_asset_url(  $path = '')

Parameters

$path

format_rest_error()

format_rest_error(  $error_message)

Parameters

$error_message

load_template()

load_template(  $template_name,  $args)

Parameters

$template_name
$args

get_modal_class()

get_modal_class(  $product)

Parameters

$product

get_modal_data_attributes()

get_modal_data_attributes(  $product)

Parameters

$product

build_html_attributes()

build_html_attributes(  $atts = array())

Parameters

$atts

is_product_image_displayed()

is_product_image_displayed()

is_product_details_displayed()

is_product_details_displayed()

get_gallery_image_html()

get_gallery_image_html(integer  $attachment_id): string

Get HTML for a gallery image.

Parameters

integer $attachment_id

Attachment ID.

Returns

string

get_wc_notices()

get_wc_notices(  $notice_type)

Parameters

$notice_type