CHANGE the gform_post_submission hook is deprecated and changed to gform_after_submission