LLMS_Session::init()

Setup the WP_Session instance


Description Description


Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.session.php

	public function init() {

		if ( $this->use_php_sessions ) {
			$this->session = isset( $_SESSION[ 'llms' . $this->prefix ] ) && is_array( $_SESSION[ 'llms' . $this->prefix ] ) ? $_SESSION[ 'llms' . $this->prefix ] : array();
		} else {
			$this->session = @WP_Session::get_instance();
		}

		return $this->session;
	}

Top ↑

User Contributed Notes User Contributed Notes

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