프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$endpoints | array |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Constructor | |
add_filters ( ) : boolean | If one of the registered endpoints is selected, add the required filters. | |
get_requested_endpoint ( ) : |
||
register_endpoint ( string $url, array $plugins = [] ) |
public add_filters ( ) : boolean | ||
리턴 | boolean |
public get_requested_endpoint ( ) : |
||
리턴 |
public register_endpoint ( string $url, array $plugins = [] ) | ||
$url | string | The leading URL for this endpoint |
$plugins | array | Array of enabled plugin slugs for this endpoint |