GPIO button plugin query

The GPIO buttons plug-in has had a shutdown option for a long as I’ve been using it specs.
My little red button here, takes GPIO pin 10 high for shutdown: