HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/lacalita/wp-content/plugins/rey-core/inc/modules/brands/brands-component.php
<?php
namespace ReyCore\Modules\Brands;

use ReyCore\WooCommerce\LoopComponents\Component;

if (!defined('ABSPATH')) exit; // Exit if accessed directly

class BrandsComponent extends Component {

	public function init(){
		add_action('reycore/elementor/product_grid/mini_grid/content', [$this, 'render_mini_skin'], 5);
	}

	public function status(){
		return get_theme_mod('loop_show_brads', '1');
	}

	public function get_id(){
		return 'brands';
	}

	public function get_name(){
		return 'Brands';
	}

	public function scheme(){
		return [
			'type'     => 'action',
			'tag'      => 'woocommerce_shop_loop_item_title',
			'priority' => 4,
		];
	}

	public function render(){
		Base::instance()->get_brands_html();
	}

	public function render_mini_skin( $element ){
		if( isset( $element->_settings['hide_brands'] ) && $element->_settings['hide_brands'] !== 'yes' ){
			$this->render();
		}
	}

}