um_default_settings_values

Hook type

Filter

Description

Extend UM default settings

Parameters

$settings

(array) UM default settings

Usage

<?php add_filter( 'um_default_settings_values', 'function_name', 10, 1 ); ?>

Examples

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

Change Log

Since: 2.0

Source

um_default_settings_values is located in includes/class-config.php::line 496