Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
WPCOM_VIP_REST_API_Endpoints
PHP Class WPCOM_VIP_REST_API_Endpoints, vip-mu-plugins-public
Author: Erick Hitter, Automattic Version: 0.1
显示文件
Open project: Automattic/vip-mu-plugins-public
Class Usage Examples
Public Methods
Method
Description
instance
( )
list_sites
( )
Build list of sites on a multisite network
rest_api_init
( )
Register API routes
Private Methods
Method
Description
__construct
( )
Register hooks
Method Details
instance()
public
static
method
public
static
instance
( )
list_sites()
public
method
For consistency, will also return result on single-site
public
list_sites
( )
rest_api_init()
public
method
Register API routes
public
rest_api_init
( )