Quick_View_Route extends Base_Route implements Registerable

REST handler for the 'get quick view' route.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable

Table of Contents

$rest_base  : mixed
$post_globals  : mixed
get_quick_view()  : mixed
register()  : mixed
check_prerequisites()  : mixed
reset_post_globals()  : mixed
setup_post_globals()  : mixed

Properties

Methods

get_quick_view()

public get_quick_view(WP_REST_Request $request) : mixed
Parameters
$request : WP_REST_Request
Return values
mixed

check_prerequisites()

private check_prerequisites() : mixed
Return values
mixed

reset_post_globals()

private reset_post_globals() : mixed
Return values
mixed

setup_post_globals()

private setup_post_globals(mixed $the_product) : mixed
Parameters
$the_product : mixed
Return values
mixed

Search results