Support » Plugin: WP-Stateless - Google Cloud Storage » Development: Removing all assets before deleting a WP multisite.

  • 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)
  • Plugin Author Alim

    (@alimuzzamanalim)

    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)
  • You must be logged in to reply to this topic.