wc_session_expiring

wc_session_expiring

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('wc_session_expiring') is found 1 times:

  • /includes/class-wc-session-handler.php line 220
    	/**
    	 * Set session expiration.
    	 */
    	public function set_session_expiration() {
    		$this->_session_expiring   = time() + intval( apply_filters( 'wc_session_expiring', 60 * 60 * 47 ) ); // 47 Hours.
    		$this->_session_expiration = time() + intval( apply_filters( 'wc_session_expiration', 60 * 60 * 48 ) ); // 48 Hours.
    	}
    
    	/**
    	 * Generate a unique customer ID for guests, or return user ID if logged in.
    	 *