Why do i get the media files that I had detached from the posts(but still present in the media library)?

wp_get_attachment_url() is the method used to fetch the attachments. Currently I am passing the attachment IDs fetched by

 $attachments = get_children( array('post_parent' => get_the_ID(), 'post_type' => 'attachment') ); 

Replay

Category: attachments Time: 2016-07-28 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 12.729 (s). 13 q(s)