protected function get_image_mime_types() {
		$mime_types = get_allowed_mime_types();

		foreach ( $mime_types as $id => $type ) {
			if ( false === strpos( $type, 'image/' ) ) {
				unset( $mime_types[ $id ] );
			}
		}

		/**
		 * Filter image mime types
		 *
		 * @since 0.1.0
		 * @param array $mime_types Image mime types.
		 */
		$mime_types = apply_filters( 'icon_picker_image_mime_types', $mime_types );

		// We need to exclude image/svg*.
		unset( $mime_types['svg'] );

		return $mime_types;
	}
protected function get_image_mime_types() {
		$mime_types = get_allowed_mime_types();

		foreach ( $mime_types as $id => $type ) {
			if ( false === strpos( $type, 'image/' ) ) {
				unset( $mime_types[ $id ] );
			}
		}

		/**
		 * Filter image mime types
		 *
		 * @since 0.1.0
		 * @param array $mime_types Image mime types.
		 */
		$mime_types = apply_filters( 'icon_picker_image_mime_types', $mime_types );

		// We need to exclude image/svg*.
		unset( $mime_types['svg'] );

		return $mime_types;
	}
protected function get_image_mime_types ( ) { $ mime_types = get_allowed_mime_types ( ) ; foreach ( $ mime_types as $ id => $ type ) { if ( false === strpos ( $ type , 'image/' ) ) { unset ( $ mime_types [ $ id ] ) ; } } /**
		 * Filter image mime types
		 *
		 * @since 0.1.0
		 * @param array $mime_types Image mime types.
		 */ $ mime_types = apply_filters ( 'icon_picker_image_mime_types' , $ mime_types ) ; // We need to exclude image/svg*. unset ( $ mime_types [ 'svg' ] ) ; return $ mime_types ; }
Get image mime types

@since  0.1.0
@return array
Get image mime types