David Pecker, the former publisher of the National Enquirer tabloid, testified in the criminal trial of Donald Trump that he was involved in a hush money payment to Karen McDougal, a former Playboy model, to suppress her story about a sexual relationship with Trump before the 2016 presidential campaign.