DEV Community

Daniel Douglas
Daniel Douglas

Posted on


bbPress: How to find mappings of attachments to their respective posts

Hi all,

For those familiar with the bbPress plugin, and the bbPress database tables: Where would one find out the corresponding post ID for attachments?

For example: I have an attachment whose file name is fc8ec159-0de0-4c9f-8df9-020264de58d7.jpg , but I do not know what post this corresponds with. Where would I find the corresponding post_id for this file?

Thank you!

Top comments (0)

An Animated Guide to Node.js Event Loop

>> Check out this classic DEV post <<