<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait priceRangeTrait {
|
/**
|
* @var string The price range of the business, for example $$$.
|
*/
|
protected string $priceRange;
|
|
public function getPriceRange():?string
|
{
|
return $this->priceRange??null;
|
}
|
public function setPriceRange(string $priceRange):void
|
{
|
$this->priceRange = $priceRange;
|
}
|
|
public function getPriceRangeFieldConfig():array
|
{
|
return [
|
'type' => 'text',
|
'label' => 'Price Range',
|
'hint' => '$ - $$$$, in comparison to similar products or services in the industry'
|
];
|
}
|
}
|