Properties

$product

$product :

Type

$links

$links :

Type

$parent_product

$parent_product :

Type

$field

$field :

Type

$image_size

$image_size :

Type

$date_format

$date_format :

Type

$is_date

$is_date :

Type

$acf_field_object

$acf_field_object :

Type

Methods

__construct()

__construct(\WC_Product  $product,  $field,  $links = '',  $image_size = '',  $date_format = '',  $date_columns = array())

Parameters

\WC_Product $product
$field
$links
$image_size
$date_format
$date_columns

get_filter_data()

get_filter_data()

get_sort_data()

get_sort_data()

get_data()

get_data()

get_product_id()

get_product_id()

get_parent_product()

get_parent_product()

get_parent_product_id()

get_parent_product_id()

get_product_taxonomy_terms()

get_product_taxonomy_terms(  $column)

Parameters

$column

format_term_data()

format_term_data(\WP_Term  $term,  $show_links = false,  $column = null)

Parameters

\WP_Term $term
$show_links
$column

get_product_attribute()

get_product_attribute(  $attribute,  $attributes)

Parameters

$attribute
$attributes

get_separator()

get_separator(  $item_type)

Parameters

$item_type

maybe_strip_shortcodes()

maybe_strip_shortcodes(  $text,  $process_shortcodes = false)

Parameters

$text
$process_shortcodes

get_acf_value()

get_acf_value(  $field_obj,  $product_id = false)

Parameters

$field_obj
$product_id

convert_to_timestamp()

convert_to_timestamp(  $date,  $format = '')

Parameters

$date
$format

flatten_custom_field()

flatten_custom_field(  $carry,  $item)

Parameters

$carry
$item