Category_Edit implements Registerable, Service

Handles fields and data on the Product Category Add/Edit screen

Tags
author

Barn2 Plugins [email protected]

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
An object that can be registered with WordPress via the Plugin API, i.e. add_action() and add_filter().
Service
Marker interface to denote a service.

Table of Contents

add_default_quantity_field()  : mixed
Inserts the default quantity field to the 'Add New' product category fields
add_min_max_quantity_field()  : mixed
Inserts the Min Max quantity amount field to the 'Add New' product category fields
add_min_max_value_field()  : mixed
Inserts the Min Max value amount field to the 'Add New' product category fields
add_quantity_step_field()  : mixed
Inserts the quantity step field to the 'Add New' product category fields
edit_default_quantity_field()  : mixed
Inserts the default quantity field to the 'Edit' product category fields
edit_min_max_quantity_field()  : mixed
Inserts the Min Max quantity amount field to the 'Edit' product category fields
edit_min_max_value_field()  : mixed
Inserts the Min Max value amount field to the 'Edit' product category fields
edit_quantity_step_field()  : mixed
Inserts the quantity step field to the 'Edit' product category fields
register()  : mixed
save_default_quantity_field()  : mixed
Save default quantity
save_quantity_rules_field()  : mixed
Save Min Max quantity field
save_quantity_step_field()  : mixed
Save quantity step
save_value_rules_field()  : mixed
Save Min Max value field

Methods

add_default_quantity_field()

Inserts the default quantity field to the 'Add New' product category fields

public add_default_quantity_field() : mixed
Return values
mixed

add_min_max_quantity_field()

Inserts the Min Max quantity amount field to the 'Add New' product category fields

public add_min_max_quantity_field() : mixed
Return values
mixed

add_min_max_value_field()

Inserts the Min Max value amount field to the 'Add New' product category fields

public add_min_max_value_field() : mixed
Return values
mixed

add_quantity_step_field()

Inserts the quantity step field to the 'Add New' product category fields

public add_quantity_step_field() : mixed
Return values
mixed

edit_default_quantity_field()

Inserts the default quantity field to the 'Edit' product category fields

public edit_default_quantity_field(mixed $term) : mixed
Parameters
$term : mixed

The product category being edited

Return values
mixed

edit_min_max_quantity_field()

Inserts the Min Max quantity amount field to the 'Edit' product category fields

public edit_min_max_quantity_field(mixed $term) : mixed
Parameters
$term : mixed

The product category being edited

Return values
mixed

edit_min_max_value_field()

Inserts the Min Max value amount field to the 'Edit' product category fields

public edit_min_max_value_field(mixed $term) : mixed
Parameters
$term : mixed

The product category being edited

Return values
mixed

edit_quantity_step_field()

Inserts the quantity step field to the 'Edit' product category fields

public edit_quantity_step_field(mixed $term) : mixed
Parameters
$term : mixed

The product category being edited

Return values
mixed

register()

public register() : mixed
Return values
mixed

save_default_quantity_field()

Save default quantity

public save_default_quantity_field(mixed $term_id[, mixed $tt_id = '' ]) : mixed
Parameters
$term_id : mixed

Term ID being saved

$tt_id : mixed = ''

The term taxonomy ID

Return values
mixed

save_quantity_rules_field()

Save Min Max quantity field

public save_quantity_rules_field(mixed $term_id[, mixed $tt_id = '' ]) : mixed
Parameters
$term_id : mixed

Term ID being saved

$tt_id : mixed = ''

The term taxonomy ID

Return values
mixed

save_quantity_step_field()

Save quantity step

public save_quantity_step_field(mixed $term_id[, mixed $tt_id = '' ]) : mixed
Parameters
$term_id : mixed

Term ID being saved

$tt_id : mixed = ''

The term taxonomy ID

Return values
mixed

save_value_rules_field()

Save Min Max value field

public save_value_rules_field(mixed $term_id[, mixed $tt_id = '' ]) : mixed
Parameters
$term_id : mixed

Term ID being saved

$tt_id : mixed = ''

The term taxonomy ID

Return values
mixed

Search results