Mautic
Estimated reading: 1 minute
/**
* Function to retrieve all Mautic forms. When $id is passed, only one form is returned
*
* @param $id int Id of a Mautic form
* @return array $forms Returns an array of Mautic forms
*/
public function getForms($id = ''){}PHP
/**
* @param $form_id int Id of the Mautic form
* @param $data array Array of the data to post to the form
*/
public function postFormEntry($form_id, $data){}PHP