Class for providing debug data based on a users WordPress environment.
package | WordPress |
---|---|
subpackage | Site_Health |
since | 5.2.0 |
check_for_updates()
since | 5.2.0 |
---|
debug_data() : array
since | 5.2.0 |
---|---|
global | wpdb $wpdb WordPress database abstraction object. |
\ImagickException |
---|
array
The debug data for the site.format(array $info_array, string $type) : string
since | 5.2.0 |
---|
array
Information gathered from the WP_Debug_Data::debug_data
function.
string
The data type to return, either 'info' or 'debug'.
string
The formatted data.get_database_size() : integer
since | 5.2.0 |
---|
integer
The size of the database, in bytes.get_sizes() : array
Intended to supplement the array returned by WP_Debug_Data::debug_data()
.
since | 5.2.0 |
---|
array
The sizes of the directories, also the database size and total installation size.