Can I include a variable inside addtoany link?
-
Hello there
I am inserting share buttons using this code:
<?php if ( function_exists( ‘ADDTOANY_SHARE_SAVE_KIT’ ) ) {
ADDTOANY_SHARE_SAVE_KIT( array( ‘linkname’ => ‘HideMyScore’, ‘linkurl’ => ‘http://hidemyscore.com’ ) );
} ?>Is there a way to include a variable inside ‘linkname’? e.g. ‘linkname’ => ‘$teamname at HideMyScore’
Sorry if this is a php question and not an addtoany one :-/
The topic ‘Can I include a variable inside addtoany link?’ is closed to new replies.