WP_Debug_Data
class WP_Debug_Data
// Constructor: function Object() { [native code] } Class for providing debug data based on a users WordPress environment.
Methods 21 methods
| Method / Return | Description |
|---|---|
| check_for_updates() void | Calls all core functions to check for updates. |
| debug_data() array | Static function for generating site debug data when required. |
| get_wp_core() array | Gets the WordPress core section of the debug data. |
| get_wp_dropins() array | Gets the WordPress drop-in section of the debug data. |
| get_wp_server() array | Gets the WordPress server section of the debug data. |
| get_wp_media() array | Gets the WordPress media section of the debug data. |
| get_wp_mu_plugins() array | Gets the WordPress MU plugins section of the debug data. |
| get_wp_paths_sizes() (array | Gets the WordPress paths and sizes section of the debug data. |
| get_wp_plugins_active() array | Gets the WordPress active plugins section of the debug data. |
| get_wp_plugins_inactive() array | Gets the WordPress inactive plugins section of the debug data. |
| get_wp_plugins_raw_data() array | Gets the raw plugin data for the WordPress active and inactive sections of the debug data. |
| get_wp_active_theme() array | Gets the WordPress active theme section of the debug data. |
| get_wp_parent_theme() array | Gets the WordPress parent theme section of the debug data. |
| get_wp_themes_inactive() array | Gets the WordPress inactive themes section of the debug data. |
| get_wp_constants() array | Gets the WordPress constants section of the debug data. |
| get_wp_database() array | Gets the WordPress database section of the debug data. |
| get_wp_filesystem() array | Gets the file system section of the debug data. |
| get_mysql_var() (string | Returns the value of a MySQL system variable.
Parameters: $mysql_var: mixed |
| format() string | Formats the information gathered for debugging, in a manner suitable for copying to a forum or support ticket.
Parameters: $info_array: mixed, $data_type: mixed |
| get_database_size() int | Fetches the total size of all the database tables for the active database user. |
| get_sizes() array | Fetches the sizes of the WordPress directories: `wordpress` (ABSPATH), `plugins`, `themes`, and `uploads`. |