src/Core/Theme/ImageSize.php
public function addToDropDown(array $options)
    {
        foreach ($this->sizes as $slug => $props) {
            if ($props['label'] && ! isset($options[$slug])) {
                $options[$slug] = $props['label'];
            }
        }

        return $options;
    }
public function addToDropDown(array $options)
    {
        foreach ($this->sizes as $slug => $props) {
            if ($props['label'] && ! isset($options[$slug])) {
                $options[$slug] = $props['label'];
            }
        }

        return $options;
    }
public function addToDropDown ( array $ options ) { foreach ( $ this -> sizes as $ slug => $ props ) { if ( $ props [ 'label' ] && ! isset ( $ options [ $ slug ] ) ) { $ options [ $ slug ] = $ props [ 'label' ] ; } } return $ options ; }
Filter media size drop down options. Add user custom image sizes.

@param array $options

@return array
Filter media size drop down options . Add user custom image sizes .