add template filter hook
Merge pull request #1 from jim912/master

add template filter hook