function scan_form_plugins_usage() { if ( ! current_user_can( 'manage_options' ) ) return; if ( ! isset( $_GET['scan_forms'] ) ) return; $results = []; $posts = get_posts([ 'post_type' => 'any', 'post_status' => 'publish', 'posts_per_page' => -1, ]); foreach ( $posts as $post ) { $content = $post->post_content; $found = []; // Contact Form 7 shortcode: [contact-form-7 ...] if ( preg_match_all( '/\[contact-form-7[^\]]*\]/', $content, $matches ) ) { $found['CF7'] = $matches[0]; } // Gravity Forms shortcode: [gravityforms id="..."] or [gravityform id="..."] if ( preg_match_all( '/\[gravityform[s]?[^\]]*\]/', $content, $matches ) ) { $found['GravityForms'] = $matches[0]; } if ( ! empty( $found ) ) { $results[] = [ 'title' => $post->post_title, 'url' => get_permalink( $post->ID ), 'forms' => $found, ]; } } echo '
';
    echo 'Form Plugin Usage Scan' . "\n\n";

    if ( empty( $results ) ) {
        echo 'No shortcode-based form embeds found.';
    } else {
        foreach ( $results as $r ) {
            echo '--- ' . $r['title'] . ' ---' . "\n";
            echo 'URL: ' . $r['url'] . "\n";
            foreach ( $r['forms'] as $plugin => $shortcodes ) {
                echo $plugin . ': ' . implode( ', ', $shortcodes ) . "\n";
            }
            echo "\n";
        }
    }

    echo '
'; die(); } add_action( 'init', 'scan_form_plugins_usage' ); Display of Events from June 12, 2016 – August 7, 2016 – Page 3 – Great Hollow
  • Directions
  • Trail Map
  • Donate
  • Volunteer
  • 0 item - $0.00
  • No Item found on your cart.
Account
+1 (203) 546-7789
Get Directions
Great Hollow Nature Preserve & Ecological Research Center
  • Your Account
  • +1 (203) 546-7789
  • Home
  • About
    • History
    • News
    • The Preserve
    • Facilities
    • Staff
    • Employment
    • Consulting Services
    • Injured Wildlife
    • Annual Reports
  • Research
    • Recent and Ongoing Projects
    • Conducting Research at Great Hollow
    • Grants
    • Publications
    • Facilities for Visiting Researchers
    • Research Fellowship
  • Education
    • Field Trips & School Programs
    • Workshops for Adults
    • Birthday Parties
  • Summer Camp
  • Events
    • Events Calendar
    • Seminar Series
    • Art Programs
  • Get Involved
    • Become a Member
    • Donate
    • Volunteer
    • Planned Giving
    • Adopt a Bird of Prey
    • Great Hollow Photographers Club
    • Internships
    • Support Our Animal Ambassadors
    • Employment
  • Visit Us
    • Plan Your Visit
    • Trail Map and Directions
    • Rules and Waiver
    • Field Trips
    • Contact Us
    • Photo Gallery
Share This
10 events found.

Events

Events Search and Views Navigation

Event Views Navigation

  • List
  • Month
  • Day
  • Photo
  • Week
  • Map
Today

List of events in Photo View

  • **SOLD OUT** Kids’ Drop-off: Holiday Cookies & Crafts | 5-8 year olds
    Dec 14

    **SOLD OUT** Kids’ Drop-off: Holiday Cookies & Crafts | 5-8 year olds

    1:00 pm - 3:00 pm
  • Winter Solstice Guided Hike & Spiral Celebration
    Dec 21

    Winter Solstice Guided Hike & Spiral Celebration

    1:00 pm - 2:30 pm
  • Winter Foraging Workshop
    Jan 25

    Winter Foraging Workshop

    12:00 pm - 2:00 pm
  • Kids’ January Drop-in Day
    Jan 31

    Kids’ January Drop-in Day

    9:00 am - 3:00 pm
  • Seed Dumpling Workshop
    Feb 8

    Seed Dumpling Workshop

    10:00 am - 12:00 pm
  • Winter Tree & Shrub ID Walk
    Feb 9

    Winter Tree & Shrub ID Walk

    10:00 am - 11:30 am
  • *Sold Out* Kids’ February Drop-in Day
    Feb 18

    *Sold Out* Kids’ February Drop-in Day

    9:00 am - 3:00 pm
  • Learn How to Make Maple Syrup!
    Mar 8

    Learn How to Make Maple Syrup!

    10:30 am - 12:00 pm
  • Kids’ Drop-off Program: Maple Sugaring
    Mar 8

    Kids’ Drop-off Program: Maple Sugaring

    1:00 pm - 2:30 pm
  • 2025 Art Show Submission Deadline
    Apr 15

    2025 Art Show Submission Deadline

    11:30 pm
  • Previous Events
  • Today
  • Next Events
  • Google Calendar
  • iCalendar
  • Outlook 365
  • Outlook Live
  • Export .ics file
  • Export Outlook .ics file
  • Great Hollow Nature Preserve & Ecological Research Center

    225 Route 37, New Fairfield, CT 06812

    1-203-546-7789

501(c) 3 non-profit organization (EIN 47-2727931)
© All rights reserved. Great Hollow Nature Preserve & Ecological Research Center.

  • Policies
  • Contact Us