Product_Modal_Route extends Base_Route implements Route
REST handler for the product modal route.
Tags
Interfaces, Classes and Traits
- Route
Table of Contents
- $rest_base : mixed
- get_modal() : mixed
- register_routes() : mixed
- check_prerequisites() : mixed
- get_response_headers() : mixed
Properties
$rest_base
protected
mixed
$rest_base
= 'modal'
Methods
get_modal()
public
get_modal(WP_REST_Request $request) : mixed
Parameters
- $request : WP_REST_Request
Return values
mixed —register_routes()
public
register_routes() : mixed
Return values
mixed —check_prerequisites()
private
check_prerequisites() : mixed
Return values
mixed —get_response_headers()
private
get_response_headers() : mixed