<?php
if ( ! function_exists( 'neobeat_core_header_radio_to_select_options' ) ) {
function neobeat_core_header_radio_to_select_options( $radio_array ) {
$select_array = array( '' => esc_html__( 'Default', 'neobeat-core' ) );
foreach ( $radio_array as $key => $value ) {
$select_array[ $key ] = $value['label'];
}
return $select_array;
}
}