SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > woocommerce > src > Internal >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/woocommerce/src/Internal/

NameTypeSizeLast ModifiedActions
AddressProvider Directory - -
Admin Directory - -
BatchProcessing Directory - -
ComingSoon Directory - -
CostOfGoodsSold Directory - -
DataStores Directory - -
DependencyManagement Directory - -
Email Directory - -
EmailEditor Directory - -
Features Directory - -
Font Directory - -
Integrations Directory - -
Logging Directory - -
Orders Directory - -
ProductAttributesLookup Directory - -
ProductDownloads Directory - -
ProductFilters Directory - -
ProductImage Directory - -
ReceiptRendering Directory - -
Settings Directory - -
Traits Directory - -
TransientFiles Directory - -
Utilities Directory - -
WCCom Directory - -
AssignDefaultCategory.php File 2001 bytes August 27 2024 23:04:44.
Brands.php File 1520 bytes May 12 2025 21:07:28.
DownloadPermissionsAdjuster.php File 6678 bytes April 19 2023 03:03:20.
McStats.php File 2149 bytes September 23 2024 20:44:04.
OrderCouponDataMigrator.php File 8528 bytes December 18 2024 22:19:16.
RegisterHooksInterface.php File 504 bytes November 28 2024 03:41:18.
RestApiControllerBase.php File 8207 bytes June 23 2025 19:46:28.
RestApiParameterUtil.php File 5854 bytes May 28 2024 14:28:20.
RestockRefundedItemsAdjuster.php File 2129 bytes June 22 2021 15:24:06.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/woocommerce/src/Internal//Brands.php

<?php
/**
 * Brands class file.
 */

declare( strict_types = 1);

namespace Automattic\WooCommerce\Internal;

defined( 'ABSPATH' ) || exit;

/**
 * Class to initiate Brands functionality in core.
 */
class Brands {

	/**
	 * Class initialization
	 *
	 * @internal
	 */
	final public static function init() {

		if ( ! self::is_enabled() ) {
			return;
		}

		include_once WC_ABSPATH . 'includes/class-wc-brands.php';
		include_once WC_ABSPATH . 'includes/class-wc-brands-coupons.php';
		include_once WC_ABSPATH . 'includes/class-wc-brands-brand-settings-manager.php';
		include_once WC_ABSPATH . 'includes/wc-brands-functions.php';

		if ( wp_is_block_theme() ) {
			include_once WC_ABSPATH . 'includes/blocks/class-wc-brands-block-templates.php';
			include_once WC_ABSPATH . 'includes/blocks/class-wc-brands-block-template-utils-duplicated.php';
		}

		if ( is_admin() ) {
			include_once WC_ABSPATH . 'includes/admin/class-wc-admin-brands.php';
		}
	}

	/**
	 * As of WooCommerce 9.6, Brands is enabled for all users.
	 *
	 * @return bool
	 */
	public static function is_enabled() {
		return true;
	}

	/**
	 * If WooCommerce Brands gets activated forcibly, without WooCommerce active (e.g. via '--skip-plugins'),
	 * remove WooCommerce Brands initialization functions early on in the 'plugins_loaded' timeline.
	 */
	public static function prepare() {

		if ( ! self::is_enabled() ) {
			return;
		}

		if ( function_exists( 'wc_brands_init' ) ) {
			remove_action( 'plugins_loaded', 'wc_brands_init', 1 );
		}
	}
}

SILENT KILLER Tool