previous_url()

public function previous_url(): string

The previous_url() method is supported by a dedicated helper function. For guidance on how to use it, click here.