[new] autoloader for wordpress functions in smarty