LLMS_Person::__construct()

Constructor


Description Description

Initializes person data


Source Source

File: includes/class.llms.person.php

	public function __construct() {

		if ( empty( LLMS()->session->person ) ) {

			$this->_data = LLMS()->session->person;
		}

		// When leaving or ending page load, store data
		add_action( 'shutdown', array( $this, 'save_data' ), 10 );
		add_action( 'wp_login', array( $this, 'set_user_login_timestamp' ), 10, 2 );
	}


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: