Accidentally deleted files from APFS formatted WD external hard drive

Deleted files from APFS 1 TB WD Elements hard drive and emptied the trash. How can I recover them back?

There are few software that supports APFS data recovery as of now. You can try the demo of Stellar Phoenix Mac Data Recovery on your 1 TB external hard drive.