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: Trashes or deletes an attachment.
Source: wp-includes/post.php:6014
Action Hook: Fires before an attachment is deleted, at the start of wp_delete_attachment().
Source: wp-includes/post.php:6067
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
Filter Hook: Filters the attachment meta data.
Source: wp-includes/post.php:6247
Function: Updates metadata for an attachment.
Source: wp-includes/post.php:6259
Filter Hook: Filters the updated attachment meta data.
Source: wp-includes/post.php:6276