Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Admin_System_Report::title( string $key )
Return the title for an item in the system report.
Parameters Parameters
- $key
-
(string) (Required) Title.
Return Return
(string)
Source Source
File: includes/admin/class.llms.admin.system-report.php
private static function title( $key ) {
$key = ucwords( str_replace( '_', ' ', $key ) );
// Fix for capital P.
if ( 'Wordpress' === $key ) { // phpcs:ignore
$key = 'WordPress';
}
return $key;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.7.0 | Return the title. |
| 7.1.0 | Fixed misspelled WordPress. |
| 3.0.0 | Introduced. |