I have some custom site templates.. Now i want to just hide those templates from the Site Creation List..
I found some ways to like editing webtemp.xml and doing it from UI for each site collection.. editing webtemp.xml is not fair because im doing this on production environment and Doing it from the UI also not a solution..
But because im doing production deployment i want script to do this.. I just want code snippert to hide those custom templates..
And i want to say that disabling Templates won't meet my requirements.. because it will ruined my created sites from those templates..