[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog

alink() – Create a link

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

void

Source

File name: oik-bwtrace/libs/bobbfunc.php
Lines:
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
[1][2][3]Next »

Invoked by

    Calls

      Call hooks

      Function name: alink
      Plugin ref: oik-bwtrace – debug trace for WordPress
      Version: 4.1.0
      Sourcefile: libs/bobbfunc.php
      File ref: libs/bobbfunc.php
      Deprecated?: No
      API Letters:

      Published: March 5, 2013 | Last updated: November 1, 2016

      Information

      Function name: alink
      Plugin ref: oik-bwtrace – debug trace for WordPress
      Version: 4.1.0
      Sourcefile: libs/bobbfunc.php
      File ref: libs/bobbfunc.php
      Deprecated?: No
      API Letters:

      Recent plugin updates

      oik-weight-zone-shipping v0.2.13 oik-weight-zone-shipping v0.2.13 has been tested with WooCommerce 10.1.2 and WordPress 6.8.2 ...
      SB Children Block v1.3.0 Upgrade to SB Children Block v1.3.0 for support for PHP 8.3 and PHP 8.4  ...
      oik v4.15.3 Update to oik v4.15.3 for a couple of security fixes. Tested with WordPress 6.8.2 ...
      oik-privacy-policy v1.4.9 Update to oik-privacy-policy v1.4.9 for a security fix. Tested with WordPress 6.8.2 and PHP 8.3 and PHP 8.4 ...
      oik-nivo-slider v1.17.0 oik-nivo-slider v1.17.0 introduces the Nivo slider block - oik-nivo-slider/nivo. ...

      Plugins

      • All Plugins
      • oik base plugin
      • FREE oik plugins
      • WordPress plugins
      • Premium oik plugins

      Themes

      • FREE themes
      • Bespoke themes
      • Premium themes

      Blocks

      • All Blocks
      • Block examples
      • About Blocks

      Shortcodes

      • All Shortcodes
      • Shortcode examples
      • About Shortcodes

      Reference

      • About APIs
      • All APIs
      • All Classes
      • All Files
      • All Hooks

      Support

      • Contact
      • Cookies policy
      • Get API key
      • Privacy
      • Request support
      • Sitemap
      • Stay informed
      • Terms and Conditions
      oik-plugins
      Email: oikplug@oik-plugins.com

      Weight shipping plugins

      Find out which cart weight shipping plugin you need for your WooCommerce site.
      Which cart weight based plugin do I need?

      Site:  www.oik-plugins.com
      © Copyright oik-plugins 2011-2025. All rights reserved.


      Website designed and developed by Herb Miller of Bobbing Wide
      Proudly powered by WordPress and oik-plugins

      WordPress version: 6.8.3

      Gutenberg version: 21.7.0

      PHP version: 8.2.29