Newsletters: Action – wpml_extensions_settings_saved
Description
wpml_extensions_settings_saved is fired after the Newsletters > Extensions > Settings tab settings form was submitted, posted and saved.
Arguments
$data (an Array of posted data from the settings).
Example
Below is an example of using the wpml_extensions_settings_saved hook.
function myfunc_extensions_settings_saved($data = null) {
//do something with the $data Array
if (!empty($data)) {
foreach ($data as $dkey => $dval) {
update_option($dkey, $dval);
}
}
}
add_action('wpml_extensions_settings_saved', 'myfunc_extensions_settings_saved', 10, 1);
Earn Money by Referring People
Refer customers to us with your affiliate link and earn commission on sales from your link.
