form_password()

public function form_password(array $attributes = []): string

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