You appear to be a bot. Output may be restricted
Description
Regenerate the current session's ID.
Usage
WP_Session::regenerate_id( $delete_old );
Parameters
- $delete_old
- ( bool ) optional – Flag whether or not to delete the old session data from the server.
Returns
void
Source
File name: easy-digital-downloads/includes/libraries/class-wp-session.php
Lines:
1 to 9 of 9
public function regenerate_id( $delete_old = false ) { if ( $delete_old ) { delete_option( "_wp_session_{$this->session_id}" ); } $this->session_id = $this->generate_id(); $this->set_cookie(); }