add HideShow minimode to php hook