automatewoo/includes/Rules/Abstract_Select_Single.php
fei-source 47d3c9a8b6 Update to v6.2.2
Source: GrootMade/Festinger Vault
2026-03-15 08:31:15 +08:00

29 lines
506 B
PHP

<?php
// phpcs:ignoreFile
namespace AutomateWoo\Rules;
defined( 'ABSPATH' ) || exit;
/**
* @class Abstract_Select_Single
*/
abstract class Abstract_Select_Single extends Rule {
public $type = 'select';
public $is_single_select = true;
/** @var array - leave public for json */
public $select_choices;
/** @var string */
public $placeholder;
/**
* Don't gather select choices on construct as there could be a lot of data
* @return array
*/
abstract function get_select_choices();
}