/**
* Increases the total earnings of a form.
*
* @since 1.0
*
* @param int $give_form_id Give Form ID
* @param int $amount Earnings
*
* @return bool|int
*/
function give_increase_earnings($give_form_id = 0, $amount)
{
$form = new Give_Donate_Form($give_form_id);
return $form->increase_earnings($amount);
}