check to make sure the function exists. 

Signed-off-by: Matt Barba <matt@placester.com>
Theme Gallery is back-in-business for non-hosted users...