Languages: English • Italiano • local attachment 日本語 (Add your language)
Check if the attachment URI is local one and is really an attachment.
<?php is_local_attachment( $url ) ?>
Since: 2.0.0
is_local_attachment() is located in wp-includes/post.php
.