Gform_after_submission not picking up var_dump

Screenshot 2021-11-25 110354

Screenshot of my code attached. If I var_dump inside of init it will work, but it’s not hitting the dump inside submit_form, it instead navigates to the thank you for your submission page. What am I missing here?

The confirmation has already been processed by the time that hook runs so printing or dumping content won’t always work. You can write to the core log instead, see the following article:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.