__('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full Size'), ) ); $sizeLabels = apply_filters( 'image_size_names_choose', array() ); echo ''; echo ''; $sizesSettings = self::getSettings(); if (!is_array($sizesSettings)) { $sizesSettings = array(); } foreach ($imageSizes as $s) { $label = isset($sizeLabels[$s]) ? $sizeLabels[$s] : ucfirst( str_replace( '-', ' ', $s ) ); if (isset($_wp_additional_image_sizes[$s])) { $cropMethod = $_wp_additional_image_sizes[$s]['crop']; } else { $cropMethod = get_option($s.'_crop'); } if ($cropMethod == 0) { continue; } echo ''; } echo '
' . __('Size', 'microp') . ' ' . __('Visible', 'microp') . ' ' . __('Default JPEG Quality', 'microp') . ' ' . __('Custom Label', 'microp') . '
' . $label. '
'; } } if( is_admin() ) { $mic_settings_page = new MicSettingsPage(); }