Disappearing bone shapes with rigify (show_wire)
You don't need a script, simply hold Alt when clicking the checkbox, it should do the action on the whole selection. Unless this function is broken in your 2.8 build of course x)