This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
Use this filter to prevent honeypot validation when uploading files. This is one of the reasons you may see the "File is spam" error.
Usage
add_filter( 'frm_check_honeypot_on_file_upload', '__return_false' );
Parameters
- None
Examples
Disable honeypot validation on file upload
If you see an error like "File is spam," you can use this code example to disable the honeypot validation when uploading files.
add_filter( 'frm_check_honeypot_on_file_upload', '__return_false' );