GF_REST_API
Source: includes/webapi/v2/class-gf-rest-api.php:7
Details
- Kind:
class - Namespace:
(global)
Methods
| Method | Description |
|---|---|
get_instance() | Returns an instance of this class, and stores it in the $_instance property. |
__construct() | GF_REST_API constructor. |
register_rest_routes() | Register REST API routes |
Method Reference
get_instance()
public static function get_instance()
Returns an instance of this class, and stores it in the $_instance property.
Returns
- GF_REST_API — $_instance An instance of the GF_REST_API class
Since: 2.4-beta-1
Source: includes/webapi/v2/class-gf-rest-api.php:24
__construct()
public function __construct()
GF_REST_API constructor.
Since: 2.4-beta-1
Source: includes/webapi/v2/class-gf-rest-api.php:43
register_rest_routes()
public function register_rest_routes()
Register REST API routes
Since: 2.4-beta-1
Source: includes/webapi/v2/class-gf-rest-api.php:52