Use edd_die() for API