WordPress.org

Forums

Frontend Uploader
fu_after_upload action not working properly (1 post)

  1. sombrafam
    Member
    Posted 9 months 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

    https://wordpress.org/plugins/frontend-uploader/

Reply

You must log in to post.

About this Plugin

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

About this Topic