WC_REST_System_Status_V2_Controller
System status controller class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
Methods Methods
- add_db_table_prefix — Add prefix to table.
- check_if_field_item_exists — Check if field item exists.
- format_plugin_data — Format plugin data, including data on updates, into a standard format.
- get_active_plugins — Get a list of plugins active on the site.
- get_collection_params — Get any query params needed.
- get_database_info — Get array of database information. Version, prefix, and table existence.
- get_dropins_mu_plugins — Get a list of Dropins and MU plugins.
- get_environment_info — Get array of environment information. Includes thing like software versions, and various server settings. — deprecated
- get_environment_info_per_fields — Get array of environment information. Includes thing like software versions, and various server settings.
- get_inactive_plugins — Get a list of inplugins active on the site.
- get_item_mappings — Return an array of sections and the data associated with each. — deprecated
- get_item_mappings_per_fields — Return an array of sections and the data associated with each.
- get_item_schema — Get the system status schema, conforming to JSON Schema.
- get_items — Get a system status info, by section.
- get_items_permissions_check — Check whether a given request has permission to view system status.
- get_pages — Returns a mini-report on WC pages and if they are configured correctly: Present, visible, and including the correct shortcode or block.
- get_post_type_counts — Get array of counts of objects. Orders, products, etc.
- get_security_info — Returns security tips.
- get_settings — Get some setting values for the site that are useful for debugging purposes. For full settings access, use the settings api.
- get_theme_info — Get info on the current active theme, info on parent theme (if presnet) and a list of template overrides.
- prepare_item_for_response — Prepare the system status response
- register_routes — Register the route for /system_status