after_mu_upgrade
do_action( ‘after_mu_upgrade’, array|WP_Error $response )
操作挂钩:在每个站点的多站点数据库升级完成后激发。
Action Hook: Fires after the Multisite DB upgrade for each site is complete.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$response | (array | WP_Error) | 失败时出现升级响应数组或WP_错误。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
MU (3.0.0) | wp-admin/network/upgrade.php:111 | 0 | 0 |
after_mu_upgrade 为WP2原创文章,链接:https://www.wp2.cn/hook/after_mu_upgrade/