Ajax_Handler implements Service, Registerable, Conditional

Handles the AJAX requests for product tables.

Tags
author

Barn2 Plugins [email protected]

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

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

Table of Contents

add_to_cart()  : mixed
add_to_cart_multi()  : mixed
is_required()  : bool
Is this object required?
load_products()  : mixed
register()  : mixed
format_errors()  : mixed
get_refreshed_fragments()  : mixed

Methods

add_to_cart()

public add_to_cart() : mixed
Return values
mixed

add_to_cart_multi()

public add_to_cart_multi() : mixed
Return values
mixed

is_required()

Is this object required?

public is_required() : bool
Return values
bool

true if required, false otherwise.

load_products()

public load_products() : mixed
Return values
mixed

register()

public register() : mixed
Return values
mixed

format_errors()

private format_errors([mixed $show_all_errors = true ]) : mixed
Parameters
$show_all_errors : mixed = true
Return values
mixed

get_refreshed_fragments()

private get_refreshed_fragments() : mixed
Return values
mixed

Search results