RestAPI
in package

Class REST API

Table of Contents

$_namespace  : mixed
$remote_template_library_url  : mixed
__construct()  : mixed
RestAPI constructor.
authorization_status_code()  : mixed
get_remote_content()  : mixed
get_remote_templates()  : mixed
get_taxonomies()  : mixed
get_templates()  : mixed
get_terms()  : mixed
permissions_check()  : mixed
register_rest_route()  : mixed
taxonomy_schema()  : mixed
Schema for a taxonomy.
templates_schema()  : mixed
Schema for a templates.
terms_schema()  : mixed
Schema for a terms.

Properties

$_namespace

protected mixed $_namespace = 'getwid/v1'

$remote_template_library_url

protected mixed $remote_template_library_url

Methods

__construct()

RestAPI constructor.

public __construct() : mixed
Return values
mixed

authorization_status_code()

public authorization_status_code() : mixed
Return values
mixed

get_remote_content()

public get_remote_content() : mixed
Return values
mixed

get_remote_templates()

public get_remote_templates() : mixed
Return values
mixed

get_taxonomies()

public get_taxonomies(mixed $object) : mixed
Parameters
$object : mixed
Return values
mixed

get_templates()

public get_templates(mixed $object) : mixed
Parameters
$object : mixed
Return values
mixed

get_terms()

public get_terms(mixed $object) : mixed
Parameters
$object : mixed
Return values
mixed

permissions_check()

public permissions_check(mixed $request) : mixed
Parameters
$request : mixed
Return values
mixed

register_rest_route()

public register_rest_route() : mixed
Return values
mixed

taxonomy_schema()

Schema for a taxonomy.

public taxonomy_schema() : mixed
Return values
mixed

templates_schema()

Schema for a templates.

public templates_schema() : mixed
Return values
mixed

terms_schema()

Schema for a terms.

public terms_schema() : mixed
Return values
mixed

Search results