wp_delete_attachment()代码实现通过id进行删除附件 原文:http://codex.wordpress.org/Function_Reference/wp_delete_attachment 翻译:黄聪@WP之魂