um_change_settings_before_save

Hook type

Filter

Description

Change settings before save

Parameters

$settings

(array) UM Settings on save

Usage

add_filter( 'um_change_settings_before_save', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_change_settings_before_save', 'my_change_settings_before_save', 10, 1 );
function my_change_settings_before_save( $settings ) {
    // your code here
return $settings;
}
?>

Change Log

Since: 2.0

Source

um_change_settings_before_save is located in includes/admin/core/class-admin-settings.php::line 1405