• Resolved Abruptive

    (@alexandrudoda)


    Hi!

    We’re using the plugin to offload to Google Cloud for a multisite network.

    Is there an action, function or anything we can run so that when the “wp_delete_site” function is called, it also deletes all media assets from the offloaded repository?

    Regards,
    Alex

Viewing 1 replies (of 1 total)
  • Hello @alexandrudoda,

    If you have Delete GCS File enabled in Google Cloud Storage (GCS) section of the settings page, the files on GCS will be deleted when your media is deleted on server.

    So you can delete your attachment from the media library for that site first.

Viewing 1 replies (of 1 total)
  • The topic ‘Development: Removing all assets before deleting a WP multisite.’ is closed to new replies.