Description
Create a link
Usage
alink( $class, $url, $linktori, $alt, $id, $extra );Parameters
- $class
- ( string|null ) required – the classes for the anchor tag
- $url
- ( string ) required – the fully formed URL e.g. http://www.oik-plugins.com
- $linktori
- ( string ) optional – is the text or image
- $alt
- ( string ) optional – text for title= attribute. a11y recommendations are to leave this null
- $id
- ( string ) optional – the unique ID for the anchor tag
- $extra
- ( string ) optional – anything else that needs to go in the <a> tag. e.g. 'onclick=then some javascript'
Returns
voidSource
File name: oik-bwtrace/libs/bobbfunc.phpLines:
1 to 4 of 4
function alink( $class, $url, $linktori=NULL, $alt=NULL, $id=NULL, $extra=NULL ) { $link = retlink( $class, $url, $linktori, $alt, $id, $extra ); e( $link ); }View on GitHub View on Trac
Called by
1 to 15 of 41
- BW_::alink() – Outputs a link
- bw_dash_link() – Create an Add new link for a selected post_type using a dashicon
- bw_display_blog() – Display information about a blog in a particular format
- bw_format_default() – We don’t know about this plugin so we assume it’s a WordPress one WordPress will do its 404 processing to help us The link to the notes page, if required, may have difficult too
- bw_format_nivo() – Format the Nivo output for posts which have attached images
- bw_format_nivo_attachment() – Format the Nivo output for attached images
- bw_format_plug_table() – Format the bw_plug output as a table with a number of columns 1.
- bw_github() – Implement [github] shortcode
- bw_lart() – Implement [lartisteer] shortcode for link to Artisteer.com
- bw_lbp() – Implement [lbp] shortcode for link to buddypress.org
- bw_ldrupal() – Implement [ldrupal] shortcode for link to Drupal.org
- bw_link_notes_page() – Create a link to the notes page.
- bw_link_plugin_banner() – Create a plugin banner link
- bw_link_plugin_download() – Create a link to the plugin’s download page
- bw_lwp() – Implement [lwp] shortcode for link to wordpress.org
Invoked by
Calls
Call hooks
API Letters:
