更新现有附件后触发。
原型
do_action( 'edit_attachment', int $post_ID )
参数
$post_ID
(int)
附件ID。
源文件
路径:wp-includes/post.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/edit_attachment/
更新现有附件后触发。
do_action( 'edit_attachment', int $post_ID )
$post_ID
(int)
附件ID。
路径:wp-includes/post.php
英文文档:https://developer.wordpress.org/reference/hooks/edit_attachment/
请在后台设置小工具!