public function get_image_sizes_for_ui() {
		// We start from scratch and build our own sizes array
		$sizes = array();

		// Build up new array of image sizes
		foreach ( Helper::get_image_sizes() as $key => $size ) {
			// Do not add our own size if it is set to false in the image config
			if ( isset( $size['show_in_ui'] ) && false === $size['show_in_ui'] ) {
				continue;
			}

			$name = $key;

			if ( isset( $size['name'] ) ) {
				$name = $size['name'] . ' (' . $key . ')';
			}

			$sizes[ $key ] = $name;
		}

		/**
		 * Re-add full size so it can still be selected.
		 *
		 * The full size is needed, if a e.g. a logo has to be displayed in the page content and no
		 * predefined size fits.
		 */
		$sizes['full'] = __( 'Full Size' );

		return $sizes;
	}
public function get_image_sizes_for_ui() {
		// We start from scratch and build our own sizes array
		$sizes = array();

		// Build up new array of image sizes
		foreach ( Helper::get_image_sizes() as $key => $size ) {
			// Do not add our own size if it is set to false in the image config
			if ( isset( $size['show_in_ui'] ) && false === $size['show_in_ui'] ) {
				continue;
			}

			$name = $key;

			if ( isset( $size['name'] ) ) {
				$name = $size['name'] . ' (' . $key . ')';
			}

			$sizes[ $key ] = $name;
		}

		/**
		 * Re-add full size so it can still be selected.
		 *
		 * The full size is needed, if a e.g. a logo has to be displayed in the page content and no
		 * predefined size fits.
		 */
		$sizes['full'] = __( 'Full Size' );

		return $sizes;
	}
public function get_image_sizes_for_ui ( ) { // We start from scratch and build our own sizes array $ sizes = array ( ) ; // Build up new array of image sizes foreach ( Helper :: get_image_sizes ( ) as $ key => $ size ) { // Do not add our own size if it is set to false in the image config if ( isset ( $ size [ 'show_in_ui' ] ) && false === $ size [ 'show_in_ui' ] ) { continue ; } $ name = $ key ; if ( isset ( $ size [ 'name' ] ) ) { $ name = $ size [ 'name' ] . ' (' . $ key . ')' ; } $ sizes [ $ key ] = $ name ; } /**
		 * Re-add full size so it can still be selected.
		 *
		 * The full size is needed, if a e.g. a logo has to be displayed in the page content and no
		 * predefined size fits.
		 */ $ sizes [ 'full' ] = __ ( 'Full Size' ) ; return $ sizes ; }
Build up array of image sizes to choose from in the backend.

@since 0.12.0

@return array Array of image sizes from image config for Timmy.
Build up array of image sizes to choose from in the backend .