template-functions.php

Template functions for WooCommerce Product Table.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

wc_get_product_table()  : string
Returns a new product table with the specified arguments.
wc_the_product_table()  : mixed
Prints (echos) a product table with the specified arguments.

Functions

wc_get_product_table()

Returns a new product table with the specified arguments.

wc_get_product_table([array<string|int, mixed> $args = [] ]) : string
Parameters
$args : array<string|int, mixed> = []

The table arguments.

Return values
string

The product table HTML.

wc_the_product_table()

Prints (echos) a product table with the specified arguments.

wc_the_product_table([array<string|int, mixed> $args = [] ]) : mixed
Parameters
$args : array<string|int, mixed> = []

The table arguments.

Return values
mixed

Search results