is_local_attachment( string $url )

Check if the attachment URI is local one and is really an attachment.


25 related functions found for: is_local_attachment

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordsattach, attachment, attachments, exist, is, local, post-php, post-typ, post-type, wp-includes
wp-parser-packagePost, WordPress
wp-parser-source-filewp-includes/post.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • attach
  • attachment
  • attachments
  • exist
  • is
  • local
  • Post
  • post-php
  • post-typ
  • post-type
  • wp-includes
  • wp-includes/post.php
  • post

Top ↑

Description Description


Top ↑

Parameters Parameters

$url

(string) (Required) URL to check


Top ↑

Return Return

(bool) True on success, false on failure.


Top ↑

Source Source

File: wp-includes/post.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.