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') ); 


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

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


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

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