PHP Class Papi_REST_API, papi

Show file Open project: wp-papi/papi

Public Methods

Method Description
__construct ( ) The constructor.
register_routes ( ) Register REST API routes.
rest_api_init ( ) REST API init callback.

Protected Methods

Method Description
load_files ( ) Load admin files that are not loaded by the autoload.
setup_actions ( ) Setup actions.

Method Details

__construct() public method

The constructor.
public __construct ( )

load_files() protected method

Load admin files that are not loaded by the autoload.
protected load_files ( )

register_routes() public method

Register REST API routes.
public register_routes ( )

rest_api_init() public method

REST API init callback.
public rest_api_init ( )

setup_actions() protected method

Setup actions.
protected setup_actions ( )