delete_attachment

最后更新于:2021-11-26 05:49:20

do_action( ‘delete_attachment’, int $post_id, GC_Post $post )

Fires before an attachment is deleted, at the start of gc_delete_attachment().

参数

$post_id

(int)
Attachment ID.

$post

(GC_Post)
Post object.

源文件

文件: gc-includes/post.php

View on Trac