Session::set_file( string $filename )
Description #
Set a file in user’s session.
Parameters #
- $filenamestring (Required) File name.
Source #
File: includes/class/class-session.php
public function set_file( $filename ) { $files = $this->get( 'files' ); if ( ! $files ) { $files = array(); } $files[] = $filename; $this->set( 'files', $files ); }
Expand full source code Collapse full source code View on GitHub: includes/class/class-session.php:245
Add your comment