$data) {
$result[$key] = $data['label'];
}
return $result;
}
}
if (!function_exists('essb_avaliable_content_positions_light')) {
function essb_avaliable_content_positions_light() {
$essb_avaliable_content_positions = array ();
$essb_avaliable_content_positions ['content_top'] = array ('image' => 'assets/images/display-positions-02.png', 'label' => 'Content top' );
$essb_avaliable_content_positions ['content_bottom'] = array ('image' => 'assets/images/display-positions-03.png', 'label' => 'Content bottom' );
$essb_avaliable_content_positions ['content_both'] = array ('image' => 'assets/images/display-positions-04.png', 'label' => 'Content top and bottom' );
$essb_avaliable_content_positions ['content_float'] = array ('image' => 'assets/images/display-positions-05.png', 'label' => 'Float from content top' );
$essb_avaliable_content_positions ['content_floatboth'] = array ('image' => 'assets/images/display-positions-06.png', 'label' => 'Float from content top and bottom' );
$essb_avaliable_content_positions ['content_manual'] = array ('image' => 'assets/images/display-positions-09.png', 'label' => 'Manual display with shortcode only' );
return $essb_avaliable_content_positions;
}
}
if (!function_exists('essb_avaliable_content_positions_mobile')) {
function essb_avaliable_content_positions_mobile() {
$essb_avaliable_content_positions_mobile = array ();
$essb_avaliable_content_positions_mobile ['content_top'] = array ('image' => 'assets/images/display-positions-02.png', 'label' => 'Content top' );
$essb_avaliable_content_positions_mobile ['content_bottom'] = array ('image' => 'assets/images/display-positions-03.png', 'label' => 'Content bottom' );
$essb_avaliable_content_positions_mobile ['content_both'] = array ('image' => 'assets/images/display-positions-04.png', 'label' => 'Content top and bottom' );
if (!essb_options_bool_value('deactivate_method_float')) {
$essb_avaliable_content_positions_mobile ['content_float'] = array ('image' => 'assets/images/display-positions-05.png', 'label' => 'Float from content top' );
}
$essb_avaliable_content_positions_mobile ['content_manual'] = array ('image' => 'assets/images/display-positions-09.png', 'label' => 'Manual display with shortcode only' );
if (has_filter('essb4_content_positions_mobile')) {
$essb_avaliable_content_positions_mobile = apply_filters('essb4_content_positions_mobile', $essb_avaliable_content_positions_mobile);
}
return $essb_avaliable_content_positions_mobile;
}
}
if (!function_exists('essb_avaliable_content_positions_amp')) {
function essb_avaliable_content_positions_amp() {
$essb_avaliable_content_positions_mobile = array ();
$essb_avaliable_content_positions_mobile ['content_top'] = array ('image' => 'assets/images/display-positions-02.png', 'label' => 'Content top' );
$essb_avaliable_content_positions_mobile ['content_bottom'] = array ('image' => 'assets/images/display-positions-03.png', 'label' => 'Content bottom' );
$essb_avaliable_content_positions_mobile ['content_both'] = array ('image' => 'assets/images/display-positions-04.png', 'label' => 'Content top and bottom' );
return $essb_avaliable_content_positions_mobile;
}
}
if (!function_exists('essb_available_button_positions_light')) {
function essb_available_button_positions_light() {
$essb_available_button_positions = array ();
$essb_available_button_positions ['sidebar'] = array ('image' => 'assets/images/display-positions-10.png', 'label' => 'Sidebar' );
$essb_available_button_positions ['popup'] = array ('image' => 'assets/images/display-positions-11.png', 'label' => 'Pop up' );
$essb_available_button_positions ['flyin'] = array ('image' => 'assets/images/display-positions-12.png', 'label' => 'Fly in' );
$essb_available_button_positions ['postfloat'] = array ('image' => 'assets/images/display-positions-13.png', 'label' => 'Post vertical float' );
$essb_available_button_positions ['topbar'] = array ('image' => 'assets/images/display-positions-14.png', 'label' => 'Top bar' );
$essb_available_button_positions ['bottombar'] = array ('image' => 'assets/images/display-positions-15.png', 'label' => 'Bottom bar' );
$essb_available_button_positions ['onmedia'] = array ('image' => 'assets/images/display-positions-16.png', 'label' => 'On media' );
return $essb_available_button_positions;
}
}
if (!function_exists('essb_available_buttons_align')) {
function essb_available_buttons_align() {
$essb_available_buttons_align = array();
$essb_available_buttons_align [''] = array ('image' => 'assets/images/button-align-01.png', 'label' => 'Left' );
$essb_available_buttons_align ['center'] = array ('image' => 'assets/images/button-align-03.png', 'label' => 'Center' );
$essb_available_buttons_align ['right'] = array ('image' => 'assets/images/button-align-02.png', 'label' => 'Right' );
return $essb_available_buttons_align;
}
}
if (!function_exists('essb_available_buttons_style')) {
function essb_available_buttons_style() {
$essb_available_buttons_style = array();
$essb_available_buttons_style ['button'] = array ('image' => 'assets/images/button-style-01.png', 'label' => 'Display as share button with icon and network name' );
$essb_available_buttons_style ['button_name'] = array ('image' => 'assets/images/button-style-04.png', 'label' => 'Display as share button with network name and without icon' );
$essb_available_buttons_style ['icon'] = array ('image' => 'assets/images/button-style-02.png', 'label' => 'Display share buttons only as icon without network names' );
$essb_available_buttons_style ['icon_hover'] = array ('image' => 'assets/images/button-style-03.png', 'label' => 'Display share buttons as icon with network name appear when button is pointed' );
return $essb_available_buttons_style;
}
}
if (!function_exists('essb_available_buttons_width')) {
function essb_available_buttons_width() {
$essb_available_buttons_width = array();
$essb_available_buttons_width [''] = array ('image' => 'assets/images/button-width-01.png', 'label' => 'Automatic width
' );
$essb_available_buttons_width ['fixed'] = array ('image' => 'assets/images/button-width-04.png', 'label' => 'Fixed width
' );
$essb_available_buttons_width ['full'] = array ('image' => 'assets/images/button-width-02.png', 'label' => 'Full width' );
$essb_available_buttons_width ['column'] = array ('image' => 'assets/images/button-width-03.png', 'label' => 'Display in columns' );
return $essb_available_buttons_width;
}
}
if (! function_exists ( 'essb_optin_designs' )) {
function essb_optin_designs() {
$periods = array ();
$periods ['design1'] = 'Design #1';
$periods ['design2'] = 'Design #2';
$periods ['design3'] = 'Design #3';
$periods ['design4'] = 'Design #4';
$periods ['design5'] = 'Design #5';
$periods ['design6'] = 'Design #6';
$periods ['design7'] = 'Design #7';
$periods ['design8'] = 'Design #8';
$periods ['design9'] = 'Design #9';
return $periods;
}
}
if (!function_exists('essb_device_select')) {
function essb_device_select() {
$devices = array();
$devices['desktop'] = array ('image' => '