add mysql and wordpress functions