Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 148

Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 266

Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home2/cargocap/mrbuilders.pk/wp-includes/widgets/upgrade/index.php on line 274
fg
/home2/cargocap/www/wp-content/plugins/gutenify/core/dist/non-blocks/admin/pages/settings/index.php
<?php
namespace gutenify;

defined( 'ABSPATH' ) || exit;

class Settings_Admin_Page {
	public static $handle = 'gutenify-admin-settings';
	public static function init() {
		add_action( 'init', array( __CLASS__, 'register_assets' ) );
	}
	public static function register_assets() {
		$constants        = Helpers::plugin_constants();
		$plugin_main_slug = $constants['plugin_main_slug'];

		$base_url          = Helpers::core_base_url();
		$asset_file_values = include_once 'index.asset.php';
		$deps              = $asset_file_values['dependencies'];
		$deps[]            = $plugin_main_slug . '-global-inline-handle';
		$deps[]            = 'updates';
		$deps[]            = Components::$handle;

		$ver               = $asset_file_values['version'];
		$src               = $base_url . 'dist/non-blocks/admin/pages/settings/index.js';
		wp_register_script( self::$handle, $src, $deps, $ver, true );

		$src = $base_url . 'dist/non-blocks/admin/pages/settings/index.css';
		// [TODO: Avoid use of fontawesome in admin. use wordpress/icons for any icons or use svg].
		wp_register_style( self::$handle, $src, array( 'wp-components', $plugin_main_slug . '-fontawesome' ), $ver );
	}
}

Settings_Admin_Page::init();