| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/WPCAFE/wp-content/plugins/elementor-pro/modules/usage/ |
Upload File : |
<?php
namespace ElementorPro\Modules\Usage;
use Elementor\Modules\System_Info\Reporters\Base as Base_Reporter;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Features_Reporter extends Base_Reporter {
public function get_title() {
return esc_html__( 'Features', 'elementor-pro' );
}
public function get_fields() {
return [
'custom_fonts' => 'Custom Fonts',
'custom_icons' => 'Custom Icons',
];
}
public function get_custom_fonts() : array {
return [
'value' => count( Module::get_fonts_usage() ),
];
}
public function get_custom_icons() : array {
return [
'value' => count( Module::get_icons_usage() ),
];
}
}