# Deleted file wp-cli (ok)



```
wp eval-file wp-img.php
```



```
C:\xampp\htdocs\styleat\wp-img.php
```

```
<?php
$path = 'wp-content/uploads/2020/06/modelappartement_3_8-1024x768.jpg';
$arrays = explode(",", $path);
foreach ($arrays as $arr) {
	if (unlink("$arr")) {
		echo "Deleted file ";
	} else {
		echo "No Deleted";
	}
}
```
