• namrata26

    (@namrata26)


    I have added media files in post description, in the API response I get all the media files for posts , the deleted one’s also. the content lists down the media files contained but attcahements have all the media files, I have to particularly delete that file from media library. But I want to show only the files that are linked to a post in the attcahements array

    • This topic was modified 8 years ago by namrata26.
Viewing 1 replies (of 1 total)
  • Hi ,
    make sure is deleted from media on your blog , Also double checking in database .
    because in post description only pointer to file media by link . is it appear correctly in post even was deleted ? .
    you can make your own filter and extract all media file links (urls) and make small request to make sure no error in the file media . if there is an error , that means was deleted before , upon your situation .

    hopefully i motivate you .

Viewing 1 replies (of 1 total)
  • The topic ‘Media files realting to posts are not correct’ is closed to new replies.