File "options.php"
Full Path: /home/elegucvf/public_html/video/wp-content/plugins/atlas-core/elementor/custom/options.php
File size: 1.73 KB
MIME-type: text/x-php
Charset: utf-8
<?php
namespace TH90ElementorOptions;
class Options {
static function get_array_post_selective() {
$output = array();
foreach ( th90_default_options()['posts_selective'] as $key => $value ) {
$output[$key]['title'] = 'Style ' . $key;
$output[$key]['imagesmall'] = $value['img'];
$output[$key]['width'] = '25%';
$output[$key]['maxwidth'] = '85px';
}
return $output;
}
static function get_array_post_small() {
$output = array();
foreach ( th90_default_options()['posts_small'] as $key => $value ) {
$output[$key]['title'] = 'Style ' . $key;
$output[$key]['imagesmall'] = $value['img'];
$output[$key]['width'] = '25%';
$output[$key]['maxwidth'] = '85px';
}
return $output;
}
static function get_array_post_group() {
$output = array();
foreach ( th90_default_options()['posts_group'] as $key => $value ) {
$output[$key]['title'] = 'Style ' . $key;
$output[$key]['imagesmall'] = $value['img'];
$output[$key]['width'] = '25%';
$output[$key]['maxwidth'] = '85px';
}
return $output;
}
static function get_array_post_grouphero() {
$output = array();
foreach ( th90_default_options()['posts_grouphero'] as $key => $value ) {
$output[$key]['title'] = 'Style ' . $key;
$output[$key]['imagesmall'] = $value['img'];
$output[$key]['width'] = '25%';
$output[$key]['maxwidth'] = '85px';
}
return $output;
}
static function get_array_post_tax() {
$output = array();
foreach ( th90_default_options()['posts_tax'] as $key => $value ) {
$output[$key]['title'] = 'Style ' . $key;
$output[$key]['imagesmall'] = $value['img'];
$output[$key]['width'] = '25%';
$output[$key]['maxwidth'] = '85px';
}
return $output;
}
}