dozent_update_option( null $key = null, bool $value = false )

Update Dozent Options


Parameters

$key

(null) (Optional)

Default value: null

$value

(bool) (Optional) Option Value

Default value: false


Source

File: includes/core-functions.php

203
204
205
206
207
function dozent_update_option( $key = null, $value = false ) {
    $option         = (array) maybe_unserialize( get_option( 'dozent_options' ) );
    $option[ $key ] = $value;
    update_option( 'dozent_options', $option );
}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.