Support » Fixing WordPress » How to get the attachment id of each post
8 years ago
I want to the get the metadata of the image attachment for each post.
I am not able to pass the right attachment id. If i am hardcoding the attachment id, i am getting the information.
What function/variable shld i refer to get the attachment id of the attachment in the post?