Summery Summery
Add a class to the body HTML tag.
Syntax Syntax
Description Description
Filters the body class string for admin pages and adds our own class for easier styling.
Parameters Parameters
- $body_class
-
(Required) The body class string.
Return Return
(string) The modified body class string.
Source Source
File: wp-admin/includes/class-wp-site-health.php
);
return $result;
}
$post_max_size = ini_get( 'post_max_size' );
$upload_max_filesize = ini_get( 'upload_max_filesize' );
if ( wp_convert_hr_to_bytes( $post_max_size ) < wp_convert_hr_to_bytes( $upload_max_filesize ) ) {
$result['label'] = sprintf(
/* translators: 1: post_max_size, 2: upload_max_filesize */
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |