Allow multisite user to remove or hide a site from "My Sites"?


I have quite a few users who have been on a network for a couple years. During this time they've accumulated quite a lot of sites in "My Sites". This is common for education multisite since the teachers often get added to their students' blogs.

I would like to allow them to hide or remove themselves from sites that appear in My Sites.


  • Jude
    • DEV MAN

    Hey @grahamn

    Hope you are doing great !

    There is no out of the box way of doing this as Im aware. The easiest way for this to be done is using this function

    remove_user_from_blog( $user_id, $blog_id, $reassign );

    Simply use some parameters to determine which blogs must be processed.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.