customize_save
Fires once the theme has switched in the Customizer, but before settings have been saved.
Usage
add_action( 'customize_save', 'wp_kama_customize_save_action' );
/**
* Function for `customize_save` action-hook.
*
* @param WP_Customize_Manager $manager WP_Customize_Manager instance.
*
* @return void
*/
function wp_kama_customize_save_action( $manager ){
// action...
}
- $manager(WP_Customize_Manager)
- WP_Customize_Manager instance.
Changelog
| Since 3.4.0 | Introduced. |
Where the hook is called
customize_save
wp-includes/class-wp-customize-manager.php 3552
do_action( 'customize_save', $this );