Since: 2.0
label
Output a field’s label
Function Definition
public static function label ( $name, $label, $help = '', $options = null )
Source File: /pods/classes/PodsForm.php
Parameters
Parameter | Type | Details |
---|---|---|
$name | (string) | Field name |
$label | (string) | Label text |
$help | (string) | Help text |
$options | (array) | Field options |
Returns
(string) Label HTML