Title: Backend submit
Last modified: January 9, 2019

---

# Backend submit

 *  Resolved [pipoulito](https://wordpress.org/support/users/pipoulito/)
 * (@pipoulito)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/backend-submit/)
 * Hi,
 * Is it possible that what i do in the functions:
 * function handle_form_submission()
    function generate_post_from_form_submission()
 * be also used when i create the same post with the backend ?
    or how can i do 
   please in the easier way ? thanks a lot

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

 *  Plugin Author [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * (@fabianlindfors)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/backend-submit/#post-11081426)
 * Hi!
 * I’m not sure I understand. What do you mean creating post with the backend?
 * Thanks for getting in touch!
 *  Thread Starter [pipoulito](https://wordpress.org/support/users/pipoulito/)
 * (@pipoulito)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/backend-submit/#post-11081747)
 * sorry for my bad english… I mean if i use your hook functions, what will happen
   if i create a post directly from the wp admin and not using my frontend ACF form,
   will they be ignored ?
    Because as i need to be able to post from the admin or
   from frontend acform, i would like that what i do in my hook (i just send a email
   when creating a new post) be executed in the both case. thanks
 *  Thread Starter [pipoulito](https://wordpress.org/support/users/pipoulito/)
 * (@pipoulito)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/backend-submit/#post-11082107)
 * is it better to use pre_savepost in my case ?
 *  Plugin Author [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * (@fabianlindfors)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/backend-submit/#post-11093138)
 * I see! It might be better to use the `save_post` hook if you want to know both
   when a post is created manually through the WordPress admin and through the form.
   Documentation for the hook is available here: [https://developer.wordpress.org/reference/hooks/save_post/](https://developer.wordpress.org/reference/hooks/save_post/).
    -  This reply was modified 7 years, 4 months ago by [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/).
 *  Thread Starter [pipoulito](https://wordpress.org/support/users/pipoulito/)
 * (@pipoulito)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/backend-submit/#post-11099069)
 * ok thanks

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

The topic ‘Backend submit’ is closed to new replies.

 * ![](https://ps.w.org/advanced-forms/assets/icon-256x256.png?rev=1894254)
 * [Advanced Forms for ACF](https://wordpress.org/plugins/advanced-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-forms/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [pipoulito](https://wordpress.org/support/users/pipoulito/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/backend-submit/#post-11099069)
 * Status: resolved