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