Skip to content

Instantly share code, notes, and snippets.

@bappi-d-great
Last active August 15, 2018 21:51
Show Gist options
  • Save bappi-d-great/db570c59860fbfc9e7e99eabbd6e8461 to your computer and use it in GitHub Desktop.
Save bappi-d-great/db570c59860fbfc9e7e99eabbd6e8461 to your computer and use it in GitHub Desktop.
Method: add_form_entries()
<?php
$form_id = 7;
$entry_meta= array(
array(
'name' => 'text-1',
'value' => 'Text Input Value'
),
array(
'name' => 'email-1',
'value' => 'my@email.com'
)
);
Forminator_API::add_form_entries( $form_id, $entry_meta );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment