Session::get( string $key )
Description #
Get an offset by from AnsPress session.
Parameters #
- $keystring (Required) Offset key.
Source #
File: includes/class/class-session.php
public function get( $key ) { $cache = get_transient( 'anspress_session_' . $this->id ); if ( false === $cache ) { return; } if ( isset( $cache[ $key ] ) ) { return $cache[ $key ]; } }
Expand full source code Collapse full source code View on GitHub: includes/class/class-session.php:133
Add your comment