WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Get "To" Address from Contact Form 7 Database (2 posts)

  1. aware
    Member
    Posted 3 years ago #

    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?

    http://wordpress.org/extend/plugins/contact-form-7/

  2. aware
    Member
    Posted 3 years ago #

    Realized this data was just serialized. utilized the maybe_unserialize method and it worked liked a charm

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic