Merge pull request #474 from Ritesh-patel/master

fixed header sent warning for template-function
version 3.2.2
added new hooks
fixed query for multisite