Introducing move_dir() in WordPress 6.2

The problem
WordPress 2.5 introduced copy_dir() for copying a directory from one location to another. This function recursively creates the necessary subdirectories and copies files to their respective location in the new folder.

This post was originally published on Make Core by Colin Stewart.

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.