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/wishlist/comp-bottom.php
<?php
namespace ReyCore\Modules\Wishlist;

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

class CompBottom extends \ReyCore\WooCommerce\LoopComponents\Component {

	public function status(){
		return Base::instance()->is_enabled() && $this->group_default();
	}

	public function get_id(){
		return 'wishlist-bottom';
	}

	public function get_name(){
		return 'Wishlist - Bottom';
	}

	public function get_group(){
		return 'wishlist';
	}

	public function group_default(){
		return reycore_wc__get_setting('loop_wishlist_position') === 'bottom';
	}

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

	public function render(){

		if( ! $this->maybe_render() ){
			return;
		}

		do_action('reycore/woocommerce/loop/wishlist_button');
	}

}