Display
Display utilities.
Tags
Table of Contents
- get_groups_html() : mixed
- Retrieves the HTML for the supplied groups.
- get_output_string() : string
- Get the output string for the field.
- get_totals_container_html() : string
- Retrives the totals HTML for the supplied product
Methods
get_groups_html()
Retrieves the HTML for the supplied groups.
public
static get_groups_html(array<string|int, mixed> $groups, WC_Product $product) : mixed
Parameters
- $groups : array<string|int, mixed>
- $product : WC_Product
Tags
Return values
mixed —get_output_string()
Get the output string for the field.
public
static get_output_string(mixed $string_value, mixed $args) : string
This method runs a filter to allow for further string customization, including internationalization.
Parameters
- $string_value : mixed
- $args : mixed
Tags
Return values
string —get_totals_container_html()
Retrives the totals HTML for the supplied product
public
static get_totals_container_html(WC_Product $product) : string
Parameters
- $product : WC_Product