Hi Nazmul, I’m trying to use the id given in the shortcode to an attachments content (description). WP uses the the post_content value given in the array as the description so I thought I’d be able to set this as the id variable.
In your core functions where you create the $attachment array, I want to use the value here..
Ive tried 'post_content' => $id
with no luck
Would yo be able to put me in the right track here?