Frontend Uploader
fu_after_upload action not working properly (1 post)

  1. sombrafam
    Posted 2 years ago #

    Hi all,

    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³.

    Any idea??
    ¹ http://goo.gl/fGNnoM
    ² http://goo.gl/rKzXRU
    ³ http://goo.gl/qtW2Q2


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Frontend Uploader
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic