}
if ($args['require_options']) {
$future_data['options'] = $this->get_options_for(
$panel_type,
$future_data
);
}
$items[] = $future_data;
}
if ($should_do_caching) {
$this->items_cache[$panel_type] = $items;
}
return $items;
}
private function read_config_for($file_path) {
$name = explode('-', basename($file_path));
$name = array_map('ucfirst', $name);
$name = implode(' ', $name);
$_extract_variables = ['config' => []];
if (is_readable($file_path . '/config.php')) {
require $file_path . '/config.php';
foreach ($_extract_variables as $variable_name => $default_value) {
if (isset($$variable_name)) {
$_extract_variables[$variable_name] = $$variable_name;
}
}
}
$_extract_variables['config'] = array_merge(
[
'name' => $name,
'description' => '',
'typography_keys' => [],
'translation_keys' => [],
'devices' => ['desktop', 'mobile'],
'selective_refresh' => [],
'allowed_in' => [],
'excluded_from' => [],
'clone' => false,
// border | drop
'shortcut_style' => 'drop',
'enabled' => true
],
$_extract_variables['config']
);
return $_extract_variables['config'];
}
public function get_options_for($panel_type = 'header', $item = []) {
if (! is_array($item)) {
return [];
}
if (! isset($item['path'])) {
return [];
}
return blocksy_get_options($item['path'] . '/options.php', [
'panel_type' => $panel_type,
'prefix' => $this->get_option_id_for($panel_type, $item) . '_'
], false);
}
}
Fatal error: Uncaught Error: Class "Blocksy_Customizer_Builder" not found in /home/radioest/public_html/wp-content/themes/blocksy/inc/manager.php:57
Stack trace:
#0 /home/radioest/public_html/wp-content/themes/blocksy/inc/manager.php(48): Blocksy_Manager->early_init()
#1 /home/radioest/public_html/wp-content/themes/blocksy/inc/manager.php(33): Blocksy_Manager->__construct()
#2 /home/radioest/public_html/wp-content/themes/blocksy/inc/manager.php(439): Blocksy_Manager::instance()
#3 /home/radioest/public_html/wp-content/themes/blocksy/inc/helpers/db.php(4): blocksy_manager()
#4 /home/radioest/public_html/wp-content/themes/blocksy/inc/components/emoji-scripts.php(3): blocksy_get_theme_mod('emoji_scripts', 'yes')
#5 /home/radioest/public_html/wp-content/themes/blocksy/inc/init.php(528): require('/home/radioest/...')
#6 /home/radioest/public_html/wp-content/themes/blocksy/functions.php(15): require('/home/radioest/...')
#7 /home/radioest/public_html/wp-settings.php(668): include('/home/radioest/...')
#8 /home/radioest/public_html/wp-config.php(96): require_once('/home/radioest/...')
#9 /home/radioest/public_html/wp-load.php(50): require_once('/home/radioest/...')
#10 /home/radioest/public_html/wp-blog-header.php(13): require_once('/home/radioest/...')
#11 /home/radioest/public_html/index.php(17): require('/home/radioest/...')
#12 {main}
thrown in /home/radioest/public_html/wp-content/themes/blocksy/inc/manager.php on line 57