Im trying to use the add_action( 'fu_after_upload', 'my_fu_after_upload', 10, 3 ) function as described in the FAQ. Its is calling the function, and inside I try to fetch the metadata information of the attachment.
$file = wp_get_attachment_metadata( $attachment_id, false);
The problem is that this is only returning the metadata to image files (png, jpg) even though the other file types are configured and are being uploaded(i can see the other files in the media list, but, cant have access to their metadata with this funcion).
Please have a look at the code¹, screen log of a image file² and a log of a pdf upload³.