HEX
Server: nginx/1.27.0
System: Linux 20d173156d2c 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User: www-data (33)
PHP: 8.1.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/elementor-pro/modules/usage/features-reporter.php
<?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() ),
		];
	}
}