current_url()

public function current_url(): string

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