/** * Returns the minimum price amount of a form, only enforced for the custom amount input. * * @since 1.3.6 * * @param int $form_id ID number of the form to retrieve the minimum price for * * @return mixed string|int Minimum price of the form */ function give_get_form_minimum_price($form_id = 0) { if (empty($form_id)) { return false; } $form = new Give_Donate_Form($form_id); return $form->__get('minimum_price'); }