This is an old revision of the document!
Table of Contents
tpl_link
Builds a link, with the option to print it on the spot or return it as a string.
Usage
tpl_link($url, $name, $more = “”, $return = false)
Parameters
$url
(STRING) The actual URL to link to.
Default: None
$name
(STRING) Text to go inside the link.
Default: None
$more
(STRING) Any additional attributes to include.
Default: “”
$return
(BOOLEAN) Whether to return the link as a string (true
) or http://www.php.net/print print
it out on the spot (false
). Returning the link as a string is useful in plugin development, when you don't actually want to print out any content until all filters have been applied.
Default: false
Examples
…
Change Log
…
Source File
…
Resources
…
Related
…
This page is incomplete, why not fill in a section?