1. 首页
  2. WordPress钩子手册

customize_save

do_action( ‘customize_save’, WP_Customize_Manager $manager )

动作钩子::在自定义项中切换主题后,在保存设置之前激发。
Action Hook: Fires once the theme has switched in the Customizer, but before settings have been saved.

目录锚点:#参数#源码


参数(Parameters)

参数 类型 说明
$manager (WP_Customize_Manager) WP_自定义管理器实例。

源码(Source)


更新版本 源码位置 使用 被使用
3.4.0 wp-includes/class-wp-customize-manager.php:3463 1 0

customize_save 为WP2原创文章,链接:https://www.wp2.cn/hook/customize_save/