';
foreach ( $pre_def_social_icons as $key => $item ) {
if( isset( $options[ $key ] ) && '' != $options[ $key ] ) {
$value = $options[ $key ];
if ( 'email_link' == $key ) {
$output .= '
' . __( 'Email', 'foodland' ) . '';
}
else if ( 'skype_link' == $key ) {
$output .= '
' . __( 'Skype', 'foodland' ) . '';
}
else if ( 'phone_link' == $key || 'handset_link' == $key ) {
$output .= '
' . esc_attr( $item['label'] ) . '';
}
else {
$output .= '
' . esc_attr( $item['label'] ) . '';
}
}
}
//Pre defined Social Icons Link End
$output .= '';
}
//Custom Social Icons Link End
set_transient( 'foodland_social_icons', $output, 86940 );
}
return $output;
}
endif; // foodland_get_social_icons