attachment_submitbox_misc_actions
do_action( ‘attachment_submitbox_misc_actions’, WP_Post $post )
动作钩子::在附件编辑屏幕中保存元框的“上载于”部分后触发。
Action Hook: Fires after the ‘Uploaded on’ section of the Save meta box in the attachment editing screen.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$post | (WP_Post) | 当前附件的WP_Post对象。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.9.0 | wp-admin/includes/meta-boxes.php:416 | 1 | 0 |
attachment_submitbox_misc_actions 为WP2原创文章,链接:https://www.wp2.cn/hook/attachment_submitbox_misc_actions/