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 ); }
Expand full source code Collapse full source code View on GitHub
User Contributed Notes User Contributed Notes
Permalink: