Copy and delete a directory with WordPress functions
I have successfully used copy_dir() to copy a directory to a new location. How can I delete a directory using WordPress functions? 1 Answer 1 The method rmdir() – source – : /** * Delete a directory. * * @since 2.5.0 * * @param string $path Path to directory. * @param bool $recursive Optional. Whether … Read more