Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tryanc

    (@tryanc)

    Thanks Steve, I was able to generate a log file with some of the help above and found the syntax issue.

    Thread Starter tryanc

    (@tryanc)

    Actually it appears that my issue isn’t fully resolved, and I think I’ve caused some additional issues by deleting the previous CF7 form (in order to re-map the fields with your plugin) and re-creating it with a new mapping.

    no_draft_forms wasn’t initially working but I tried your suggestion above with load_published_submissions based on your documentation. Should this have the same effect?

    add_filter('cf7_2_post_filter_user_draft_form_query', 'load_published_submissions',10,2);
    function no_draft_forms($args, $post_type){
      if('story_submissions' != $post_type) return $args;
      return array();
    }

    This caused story_submissions drafts to stop pre-filling the the values. However it appears that I am now seeing one field filled with the title from a generic post. Any ideas as to what might have happened?

    Also, I initially did see the ability to mark a post as submitted via the quick edit menu, however after re-creating the CF7 form with new mappings, it appears that option has disappeared.

    Thanks in advance!

    Thread Starter tryanc

    (@tryanc)

    Thank you for the quick and detailed response!! I ended up using the filter to achieve what we wanted. I will be sure to add a review. Best wishes!

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