attachment_updated

最后更新于:2021-11-25 20:33:14

do_action( ‘attachment_updated’, int $post_ID, GC_Post $post_after, GC_Post $post_before )

Fires once an existing attachment has been updated.

参数

$post_ID

(int)
Post ID.

$post_after

(GC_Post)
Post object following the update.

$post_before

(GC_Post)
Post object before the update.

源文件

文件: gc-includes/post.php

View on Trac