Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Charles St-Pierre

    (@charlesstpierre)

    After wayyyy to much time, I managed to trigger a reset of the form. @bluejay77 It really should be feature of the main plugin.

    I’ll share for anyone who needs it.

    You need to add the GET parameter new=1 to any URL
    AND
    clear the cookies wp-job-manager-submitting-job-id and wp-job-manager-submitting-job-key

    In my case, since the default unaltered plugins work with WooCommerce, I made that happen on the Thank You page.

    That is how I solve the issue where a customer can buy multiple 1 Job offer Products and always be editing the same Job Offer Post.

    Thread Starter Charles St-Pierre

    (@charlesstpierre)

    I tell the End user (my client) that a bunch of stuff gets done when he first creates a custom post_type Post. I tell him all works fine, because I tested it. When he creates the Post, he takes more time than me, and the “bunch of stuff” doesn’t get done because by the time he saves, it’s “an update”.

    The transition_post_status is a good way to go in some cases, thanks for reminding me.

    Still, I believe there should be a way to hook when the user “creates a new post”. That is a Human action that should be easily identified.

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