Support » Plugin: Contact Form 7 » Get "To" Address from Contact Form 7 Database

  • Resolved Aaron Ware


    I’m in the middle of creating a plugin that works with CF7.

    Just looking for a heads up on a reliable way to get a form mail 1 recipient “To” address out of the database. I see it’s within one field as a value of a:7{s:20:””} of the database. But I wanted to know if there was a method call or what not from within contactForm& to get this information.

    Crawled through some of the code of CF7 but nothing jumped out at me other than potentially doing a regex?

Viewing 1 replies (of 1 total)
  • Realized this data was just serialized. utilized the maybe_unserialize method and it worked liked a charm

Viewing 1 replies (of 1 total)
  • The topic ‘Get "To" Address from Contact Form 7 Database’ is closed to new replies.