You appear to be a bot. Output may be restricted
Description
Syntax for [bw_contact_button]
Usage
bw_contact_button__syntax( $shortcode );
Parameters
- $shortcode
- ( mixed ) optional default: bw_contact_button –
Returns
voidSource
File name: oik/shortcodes/oik-button.phpLines:
1 to 13 of 13
function bw_contact_button__syntax( $shortcode='bw_contact_button' ) { $atts = array(); $contact = bw_default_empty_att( NULL, "contact", __( "me", "oik" ) ); $text = bw_default_empty_arr( $atts, 'text', "contact-text", __( "Contact", "oik" ) ); $title = bw_default_empty_arr( $atts, 'title', "contact-title", sprintf( __( 'Contact %1$s', "oik" ) , $contact ) ); $syntax = array( "contact" => BW_::bw_skv( $contact , __( "contact name", "oik" ), __( "who to contact", "oik" ) ) , "link" => BW_::bw_skv( "/contact/", __( "URL", "oik" ), __( "URL for the link", "oik" ) ) , "text" => BW_::bw_skv( $text , __( "contact-text", "oik" ), __( "text for the button", "oik" ) ) , "title" => BW_::bw_skv( $title, __( "contact-title", "oik" ), __( "title for the tooltip", "oik" ) ) , "class" => BW_::bw_skv( "bw_contact", "", __( "CSS classes for the button", "oik" ) ) ); return( $syntax ); }View on GitHub View on Trac