wp functions are now placed in hooks
