Recent

wzkb_update_settingsfunction

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

Type Name Description
array $settings Settings array to save.
bool $merge Whether to merge with existing settings. Default true.
bool $autoload Whether to autoload the option. Default true.

Returns

bool — True if settings were updated, false otherwise.