/**
* Perform save operation after successful is_valid_save() check.
* The call is propagated to all fields in the container.
*
* @param mixed $user_data
**/
public function save($user_data = null)
{
try {
parent::save($user_data);
} catch (Incorrect_Syntax_Exception $e) {
$this->errors[] = $e->getMessage();
}
do_action('carbon_after_save_theme_options', $user_data);
if (!headers_sent()) {
wp_redirect(add_query_arg(array('settings-updated' => 'true')));
}
}