customize_save_after хук-событиеWP 3.6.0

Fires after Customize settings have been saved.

Использование

add_action( 'customize_save_after', 'wp_kama_customize_save_after_action' );

/**
 * Function for `customize_save_after` action-hook.
 * 
 * @param WP_Customize_Manager $manager WP_Customize_Manager instance.
 *
 * @return void
 */
function wp_kama_customize_save_after_action( $manager ){

	// action...
}
$manager(WP_Customize_Manager)
WP_Customize_Manager instance.

Список изменений

С версии 3.6.0 Введена.

Где вызывается хук

WP_Customize_Manager::_publish_changeset_values()
customize_save_after
wp-includes/class-wp-customize-manager.php 3591
do_action( 'customize_save_after', $this );

Где используется хук в WordPress

wp-admin/includes/class-custom-image-header.php 62
add_action( 'customize_save_after', array( $this, 'customize_set_last_used' ) );
wp-includes/default-filters.php 276
add_action( $action, '_delete_option_fresh_site', 0 );