protected function add(array $image_size_item)
    {
        array_walk($image_size_item, function (array $args, string $name) {
            add_image_size($name, $args[0], $args[1], isset($args[2]) ? $args[2] : false);
        });
    }
protected function add(array $image_size_item)
    {
        array_walk($image_size_item, function (array $args, string $name) {
            add_image_size($name, $args[0], $args[1], isset($args[2]) ? $args[2] : false);
        });
    }
protected function add ( array $ image_size_item ) { array_walk ( $ image_size_item , function ( array $ args , string $ name ) { add_image_size ( $ name , $ args [ 0 ] , $ args [ 1 ] , isset ( $ args [ 2 ] ) ? $ args [ 2 ] : false ) ; } ) ; }
Add image sizes for given keys and values.

@param array $image_size_item Keys and their values.
Add image sizes for given keys and values .