메소드 | 설명 | |
---|---|---|
__construct ( ) | Setup class. | |
add_endpoint ( ) | WC API for payment gateway IPNs, etc. | |
add_query_vars ( array $vars ) : string[] | Add new query vars. | |
handle_api_requests ( ) | API request - Trigger any API requests. | |
register_rest_routes ( ) | Register REST API routes. | |
register_wp_admin_settings ( ) | Register WC settings from WP-API to the REST API. |
메소드 | 설명 | |
---|---|---|
rest_api_includes ( ) | Include REST API classes. | |
rest_api_init ( ) | Init WP REST API. |
public add_query_vars ( array $vars ) : string[] | ||
$vars | array | |
리턴 | string[] |
public register_wp_admin_settings ( ) |