'; $icon_type = 'icon'; } } elseif ($icon_array['type'] === 'custom-upload') { $icon_html = ''; $icon_type = 'image'; } return array( 'icon_html' => $icon_html, 'icon_type' => $icon_type, ); }