Within the plugin I was going through the code and noticed on line 382 within the file class.add-from-server.php the following line:
$attachment = apply_filters('afs-import_details', $attachment, $file, $post_id, $import_date);
As far as I can tell afs-import_details doesn’t exist. I could certainly be missing something but just thought I’d point it out for code cleanup. I’m thinking it is old because the prefix is using “afs” instead of the more prominent “frmsvr” found elsewhere in the plugin.
- The topic ‘Unused filter afs-import_details ln 382 in class.add-from-server’ is closed to new replies.