LLMS_Abstract_Session_Data::__isset( string $key )

Magic isset


Parameters Parameters

$key

(string) (Required) The key of the session variable.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/abstracts/llms-abstract-session-data.php

	public function __isset( $key ) {
		return isset( $this->data[ sanitize_key( $key ) ] );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.0.0 Use sanitize_key() (like other methods in this class) instead of sanitize_title().
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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