You appear to be a bot. Output may be restricted
Description
Enhance the link parameter
Usage
$an = bw_logo_link( $link, $atts );
Parameters
- $link
- ( string ) required – the specified link
- $atts
- ( array ) required – the shortcode parameters
Returns
an enhanced link for WPMSSource
File name: oik/shortcodes/oik-logo.phpLines:
1 to 14 of 14
function bw_logo_link( $link, $atts ) { switch ( $link ) { case '.': case '/': if ( is_multisite() ) { $link = site_url(); } break; default: } return( $link ); }View on GitHub View on Trac