Has to be hardwired if you don't want to plug it in.  Photo is misrepresenting.