7242*7243* @since 2.1.07244*7245* @param string$urlURLfor the given attachment.7246* @param int$attachment_id Attachment post ID.7247*/7248$url=apply_filters('wp_get_attachment_url',$url,$post->ID);72497250if(!$url){7251returnfalse;7252}72537254return$url;
History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.