wp_attachment_is()
Function: Verifies an attachment is of a given type.
Source: wp-includes/post.php:6433
Function: Verifies an attachment is of a given type.
Source: wp-includes/post.php:6433
Function: Determines whether an attachment is an image.
Source: wp-includes/post.php:6492
Function: Retrieves the icon for a MIME type or attachment.
Source: wp-includes/post.php:6504
Function: Checks for changed slugs for published post objects and save the old slug.
Source: wp-includes/post.php:6653
Function: Checks for changed dates for published post objects and save the old date.
Source: wp-includes/post.php:6696
Function: Retrieves the private post SQL based on capability.
Source: wp-includes/post.php:6737
Function: Retrieves the post SQL based on capability, author, and type.
Source: wp-includes/post.php:6758
Function: Trashes or deletes an attachment.
Source: wp-includes/post.php:6014
Function: Deletes all files that belong to the given attachment.
Source: wp-includes/post.php:6118
Function: Retrieves attachment metadata for attachment ID.
Source: wp-includes/post.php:6216