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/variation-swatches/swatch-radio.php
<?php
namespace ReyCore\Modules\VariationSwatches;

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

class SwatchRadio extends SwatchBase
{
	const TYPE_KEY = 'rey_radio';

	function __construct(){
		parent::__construct();
	}

	function get_id(){
		return self::TYPE_KEY;
	}

	function get_name(){
		return 'Radio [rey]';
	}

	function get_item_generic_class(){
		return 'rey-swatchList-item--radio';
	}

	function get_content__text($term){
		return sprintf('<span class="__point"></span><span class="__text">%s</span>', $term->name);
	}

}