Filter_Display extends Step

Filter display step of the setup wizard.

Handles configuring where filters appear in the shop, including:

  • Selecting a filter group to display above product listings
  • Option to display no filters and use widgets/shortcodes instead
Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

init()  : mixed
{@inheritdoc}
setup_fields()  : mixed
{@inheritdoc}
submit()  : mixed
{@inheritdoc}
get_filters()  : array<string|int, mixed>
Get the list of filter but only when on the setup wizard page.

Methods

init()

{@inheritdoc}

public init() : mixed
Return values
mixed

setup_fields()

{@inheritdoc}

public setup_fields() : mixed
Return values
mixed

submit()

{@inheritdoc}

public submit(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>
Return values
mixed

get_filters()

Get the list of filter but only when on the setup wizard page.

private get_filters() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results