Copy Media Files Between Sites Within a Multisite Network

Recently I’ve been working with this functionality in one of my plugins and now I decided to share it with you.

But I always want my tutorials to be more practical, so check what we are going to create:

move images to another website within a WordPress multisite network

The whole tutorial consists of two parts – in the first one I will show you a ready to use function that allows to move media from one site of a multisite network to another, in the second – we will create a custom bulk action for media files.

Custom Gallery Metabox

Featured Images in Quick Edit

How to Add Images to Media Library after Uploading them in PHP Programmatically

How to to Add a Custom Media Uploader Button in WordPress Admin

When you create some sort of meta boxes or maybe a custom options page, sometimes you need fields like an image upload button or a file uploader.

Personally for me it is OK if the website settings has a simple input text field where I can place the image URL, but it is not enough for the regular user, it is not even professional when you create a user interface – that’s what I think.

Image uploader field in WordPress option pages

Custom HTML template for images you insert in posts

How to Create a Slider for Images In Posts