Order_List implements Registerable, Standard_Service

Handles functionality on the Orders list table screen

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Standard_Service

Table of Contents

add_wholesale_column()  : array<string|int, mixed>
Add the Wholesale/Retail column to the Orders list table
order_query()  : mixed
register()  : mixed
{@inheritdoc}
render_wholesale_column()  : mixed
render_wholesale_filter()  : void
Render the wholesale selectbox to filter orders

Methods

add_wholesale_column()

Add the Wholesale/Retail column to the Orders list table

public add_wholesale_column(array<string|int, mixed> $columns) : array<string|int, mixed>
Parameters
$columns : array<string|int, mixed>

An array of columns

Tags
Return values
array<string|int, mixed>

The modified array

order_query()

public order_query(mixed $query_args) : mixed
Parameters
$query_args : mixed
Tags
Return values
mixed

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

render_wholesale_column()

public render_wholesale_column(mixed $column, mixed $post_id) : mixed
Parameters
$column : mixed
$post_id : mixed
Tags
Return values
mixed

render_wholesale_filter()

Render the wholesale selectbox to filter orders

public render_wholesale_filter() : void
Tags
Return values
void

Search results