• Resolved antonv

    (@antonv)


    the hook cf7_2_post_form_submitted_to_post as the name implies, only is fired when posting to to post types: posts. If form post to a new post type then no after submit processing is possible.

    My application injects a link to the attached file to the body text

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter antonv

    (@antonv)

    Sorry, after studying your code I realized cf7_2_post_form_submitted_to_page or whatever custom post does the trick

    Thread Starter antonv

    (@antonv)

    housekeeping: marking as resolved

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Sorry, after studying your code I realized cf7_2_post_form_submitted_to_page or whatever custom post does the trick

    was the filter helper code in the form edit page not working properly?

    Thread Starter antonv

    (@antonv)

    I cannot recall, that was at the beginning of the learning curve.

    I checked the filter helper, that does return the correct code snippets.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    ok thanks for the feedback.

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

The topic ‘Hook only works when posting to posts type: posts’ is closed to new replies.