Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created March 10, 2017 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billerickson/8c6ed632d9235232bf38c0359d621c1e to your computer and use it in GitHub Desktop.
Save billerickson/8c6ed632d9235232bf38c0359d621c1e to your computer and use it in GitHub Desktop.
<?php
$form = wpforms()->form->get( 1234 );
$form_data = wpforms_decode( $form->post_content );
$booked = explode( PHP_EOL, $form_data['settings']['mct_booked_times'] );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment