Template Helper Functions

There are helper functions built in to reduce logic in the display templates.

Within a template the functions are accessed by $data->utilities->{function_name}();

Pro Helper Functions

Get Locations display

$data->utilities->get_location_display__premium_only($data->args)

Returns string

Check if sold out

$data->utilities->is_sold_out__premium_only()

Returns boolean

Get Price Range Display

$data->utilities->get_price_display__premium_only($data->args)

Returns string

Was this helpful?

Previous Article

Filters