Jul 05, 2022 12:46 pm
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
1 Reply
Jul 05, 2022 1:21 pm
You can use the following function:
get_comment_meta($comment_id, 'wmu_attachments', true);