LLMS_Session::use_php_sessions()

Determine should we use php session or wp


Description Description


Return Return

(bool)


Top ↑

Source Source

File: includes/class.llms.session.php

	public function use_php_sessions() {

		$ret = false;

		if ( defined( 'LLMS_USE_PHP_SESSIONS' ) && LLMS_USE_PHP_SESSIONS ) {
			$ret = true;
		} elseif ( defined( 'LLMS_USE_PHP_SESSIONS' ) && ! LLMS_USE_PHP_SESSIONS ) {
			$ret = false;
		}

		return (bool) apply_filters( 'llms_use_php_sessions', $ret );
	}


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: