$_size ) { $choices[ $_size ] = $_size . ' ('. get_option( $_size . '_size_w' ) . 'x' . get_option( $_size . '_size_h' ) . ')'; } $choices['full'] = __( 'full (original)', 'amazing-blog' ); if ( ! empty( $_wp_additional_image_sizes ) && is_array( $_wp_additional_image_sizes ) ) { foreach ($_wp_additional_image_sizes as $key => $size ) { $choices[ $key ] = $key . ' ('. $size['width'] . 'x' . $size['height'] . ')'; } } return $choices; } endif;