Reference

Guide

Html::tel()

Generates an a tag for a phone number

Html::tel(string $tel = null, mixed $text = null, array $attr = [ ]): string

Parameters

Name Type Default Description
$tel string null

The phone number

$text mixed null

The optional text. If null, the number will be used as text

$attr array [ ]

Additional attributes for the tag

Return type

string

Source code

kirby/src/Toolkit/Html.php#L393