7020*7021* @since 2.1.07022*7023* @param string$urlURLfor the given attachment.7024* @param int$attachment_id Attachment post ID.7025*/7026$url=apply_filters('wp_get_attachment_url',$url,$post->ID);70277028if(!$url){7029returnfalse;7030}70317032return$url;
History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.