dozent_get_option( null $key = null, null $default = null )

Get Dozent LMS option


Parameters

$key

(null) (Optional)

Default value: null

$default

(null) (Optional)

Default value: null


Return

(array|bool|mixed)


Source

File: includes/core-functions.php

	function dozent_get_option( $key = null, $default = null ) {
		$option = maybe_unserialize( get_option( 'dozent_options' ) );

		return dozent_array_get( $key, $option, $default );
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.