function cred_form($form, $post_id = false, $return = false) { $output = CRED_CRED::cred_form($form, $post_id); if ($return) { return $output; } echo $output; }