Written by Chris Klosowski. Last updated on May 1, 2023. Security: Improved validation for edd hooks.