wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

[Solved] Media Uploader Plugin

2 Posts
2 Users
0 Likes
96 Views
trellyn
Posts: 1
Topic starter
(@trellyn)
New Member
Joined: 2 months ago

Hi! Is it possible to get the link of the media file uploaded to a comment? I'm using a webhook that fires after a new comment is added and I would like to pass the media file URL along. I looked through the developer docs, but don't see an obvious answer there.

 

Thanks!

Dan

 

Topic Tags
1 Reply
Asti
Posts: 5091
 Asti
Support
(@asti)
Illustrious Member
Joined: 5 years ago

@trellyn,

You can use the following function: 

get_comment_meta($comment_id, 'wmu_attachments', true);
Share: