Quick_View_Route extends Base_Route implements Registerable
REST handler for the 'get quick view' route.
Tags
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
$rest_base
protected
mixed
$rest_base
= 'view'
$post_globals
private
mixed
$post_globals
= []
Methods
get_quick_view()
public
get_quick_view(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request
Return values
mixed —register()
public
register() : mixed
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