emodal_get_license( $key = null )


Description Description


Source Source

File: includes/importer/easy-modal-v2/functions.php

	function emodal_get_license( $key = null ) {
		$license = emodal_get_option( EMCORE_SLUG . '-license' );
		if ( ! $license ) {
			$license = array(
				'valid'  => false,
				'key'    => '',
				'status' => array(
					'code'    => null,
					'message' => null,
					'expires' => null,
					'domains' => null
				)
			);
			emodal_update_option( EMCORE_SLUG . '-license', $license );
		}

		return $license && $key ? emresolve( $license, $key ) : $license;
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.