src/Db/WpDbAdapter.php
public function last_insert_id( Statement $statement = NULL ) {

		if ( $statement && ! $this->last_statement === $statement )
			return FALSE;

		return $this->last_insert_id;
	}
public function last_insert_id( Statement $statement = NULL ) {

		if ( $statement && ! $this->last_statement === $statement )
			return FALSE;

		return $this->last_insert_id;
	}
public function last_insert_id ( Statement $ statement = NULL ) { if ( $ statement && ! $ this -> last_statement === $ statement ) return FALSE ; return $ this -> last_insert_id ; }
Returns the inserted ID of the last executed statement. If a statement
is provided it should be verified that it is the same as the last executed one.

@param Statement $statement (Optional)

@return int|false
Returns the inserted ID of the last executed statement . If a statement is provided it should be verified that it is the same as the last executed one .