Recent

wzkb_update_settings function

wzkb_update_settings()

Update all settings at once.

Since: 3.0.0
Source: includes/options-api.php line 120

Signature

function wzkb_update_settings( array $settings, bool $merge = ..., bool $autoload = ... ): bool;

Parameters

TypeNameDescription
array$settingsSettings array to save.
bool$mergeWhether to merge with existing settings. Default true.
bool$autoloadWhether to autoload the option. Default true.

Returns

bool — True if settings were updated, false otherwise.