Form::delete_values_session( integer $id = '' )

Description #

Delete all form data stored in user session.

Parameters #

  • $id
    integer (Optional) Numerical id. Default value: ''

Source #

File: lib/class-form.php

	public function delete_values_session( $id = '' ) {
		$id = empty( $id ) ? '' : '_' . $id;
		anspress()->session->delete( $this->form_name . $id );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment