SproutCMS

This is the code documentation for the SproutCMS project

function twitterLink()

Get the A tag for a twitter share link

Usage

string SocialNetworking::twitterLink ( [ string $tweet [, string $link [, string $via_handle [, string $class ]]]] );

Arguments

  1. string $tweet = NULL
    The content of the tweet
  2. string $link = ''
    The URL of the link you're sharing
  3. string $via_handle = ''
    The Twitter handle of the company / user / account the post is shared via
  4. string $class = ''
    classes you want added to the <a> tag example: button

Return value

  • string