wp_delete_attachment()
Function: Trashes or deletes an attachment.
Source: wp-includes/post.php:6014
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
Function: Updates metadata for an attachment.
Source: wp-includes/post.php:6259
Function: Retrieves the URL for an attachment.
Source: wp-includes/post.php:6294
Function: Traverses and return all the nested children post names of a root page.
Source: wp-includes/post.php:5661
Function: Builds the URI path for a page.
Source: wp-includes/post.php:5681
Function: Retrieves an array of pages (or hierarchical post type items).
Source: wp-includes/post.php:5753
Function: Retrieves enclosures already enclosed for a post.
Source: wp-includes/post.php:5321
Function: Retrieves URLs already pinged for a post.
Source: wp-includes/post.php:5359