Recent

ata_update_optionfunction

ata_update_option()

Update an option

Updates an ata setting value in both the db and the global variable. Warning: Passing in an empty, false or null string value will remove the key from the ata_options array.

Since: 1.2.0
Source: includes/options-api.php line 56

Signature

function ata_update_option( $key = ..., $value = ... ): boolean;

Parameters

Type Name Description
string $key The Key to update.
string|bool|int $value The value to set the key to.

Returns

boolean — True if updated, false if not.