Single_Event::setup_content_headings()
{@inheritdoc}
Source
File: src/Tribe/Views/V2/Customizer/Section/Single_Event.php
public function setup_content_headings() {
return [
'font_colors' => [
'priority' => 0,
'type' => 'heading',
'label' => esc_html__( 'Set Font Colors', 'the-events-calendar' ),
],
'single_view_separator' => [
'priority' => 10,
'type' => 'separator',
'active_callback' => function() {
// Heading should not show if the new Single View is enabled.
return ! tribe_events_single_view_v2_is_enabled();
},
],
'adjust_appearance' => [
'priority' => 20,
'label' => esc_html__( 'Adjust Appearance', 'the-events-calendar' ),
'active_callback' => function() {
// Heading should not show if the new Single View is enabled.
return ! tribe_events_single_view_v2_is_enabled();
},
],
];
}