Class WC_REST_System_Status_Controller
- WP_REST_Controller
-
WC_REST_Controller
-
WC_REST_System_Status_Controller
Author: WooThemes
Extends: WC_REST_Controller
Located at api/class-wc-rest-system-status-controller.php
Methods summary
public
|
|
public
WP_Error|boolean
|
#
get_items_permissions_check( WP_REST_Request $request )
Check whether a given request has permission to view system status. |
public
WP_Error|WP_REST_Response
|
|
public
array
|
|
public
array
|
|
public
array
|
#
get_environment_info( )
Get array of environment information. Includes thing like software versions, and various server settings. |
protected
stromg
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
array
|
#
get_theme_info( )
Get info on the current active theme, info on parent theme (if presnet) and a list of template overrides. |
public
array
|
#
get_settings( )
Get some setting values for the site that are useful for debugging purposes. For full settings access, use the settings api. |
public
array
|
|
public
array
|
|
public
array
|
|
public
WP_REST_Response
|
#
prepare_item_for_response( array $system_status, WP_REST_Request $request )
Prepare the system status response |
Methods inherited from WC_REST_Controller
add_additional_fields_schema()
,
add_meta_query()
,
batch_items()
,
check_batch_limit()
,
get_normalized_rest_base()
,
get_public_batch_schema()
,
validate_setting_checkbox_field()
,
validate_setting_image_width_field()
,
validate_setting_multiselect_field()
,
validate_setting_radio_field()
,
validate_setting_select_field()
,
validate_setting_text_field()
,
validate_setting_textarea_field()
Properties summary
protected
string
|
$namespace
Endpoint namespace. |
#
'wc/v2'
|
protected
string
|
$rest_base
Route base. |
#
'system_status'
|