Displays a standard link.

type

(string)  Must be equals to link.

label

(string)  The label to display next to the field.

help

(string)  An optional text to describe the purpose of the field.

text

(string)  The text to display inside the link.

href

(string)  The HREF attribute of the link. If not specified the default one will be used: javascript:void(0).

id

(string)  An optional field ID.

class

(string)  An optional field class suffix.

hidden

(bool)  True to avoid displaying the label of the field.

[
    'link' => [
        'type' => 'link',
        'label' => 'VikWP',
        'href' => 'https://vikwp.com',
    ]
]

Changelog

Version Description
1.9 Introduced.
Last Update: 2023-12-29 14:15
Helpful?