Title: callback function after submit
Last modified: January 7, 2022

---

# callback function after submit

 *  [ebieseale](https://wordpress.org/support/users/ebieseale/)
 * (@ebieseale)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/callback-function-after-submit/)
 * Hi there,
 * I’ve been using this framework for a few weeks, but I have reached a speed bump.
 * I want to be able to run certain code that creates a csv file when the user clicks
   submit. I’ve tried using the submit and validation hooks but it doesn’t seem 
   to work.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/callback-function-after-submit/#post-15229045)
 * Hi,
 * I’ve posted [example code](https://gist.github.com/michaeluno/25ddf4119be929cfe5e4a4b561703837).
   You can run it as a plugin. It requires the Admin Page Framework loader plugin(
   this plugin) to be activated.
 *  Thread Starter [ebieseale](https://wordpress.org/support/users/ebieseale/)
 * (@ebieseale)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/callback-function-after-submit/#post-15240409)
 * Hi,
 * Thanks for the reply and solution. I’ll give it test.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘callback function after submit’ is closed to new replies.

 * ![](https://ps.w.org/admin-page-framework/assets/icon-256x256.png?rev=998199)
 * [Admin Page Framework](https://wordpress.org/plugins/admin-page-framework/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/admin-page-framework/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/admin-page-framework/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-page-framework/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-page-framework/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-page-framework/reviews/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [admin page](https://wordpress.org/support/topic-tag/admin-page/)
 * [csv](https://wordpress.org/support/topic-tag/csv/)

 * 2 replies
 * 2 participants
 * Last reply from: [ebieseale](https://wordpress.org/support/users/ebieseale/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/callback-function-after-submit/#post-15240409)
 * Status: not resolved