Inventory_Presser_REST::add_route()
Adds a /invp/v1/settings route.
Return Return
(void)
Source Source
File: includes/class-rest.php
public function add_route() { register_rest_route( 'invp/v1', '/settings/', array( 'methods' => 'GET', 'callback' => array( $this, 'response' ), 'permission_callback' => '__return_true', ) ); }
Expand full source code Collapse full source code View on Github