Support » Plugin: WordPress Social Invitations - Lite » Appending Value to custom URL

  • Hello,

    Great Plugin. I am going to purchase the premium version but first I need to know if the plugin can accomplish the following. We need to append the users inviter’s user name on to the end of the custom URL. We are currently trying functions with the follwing but having no success:

    function wsi_my_custom_link() { 
    	$current_user = wp_get_current_user();
    	$current_user_login = $current_user->user_login;
    	return Wsi_Queue::shortenUrl('http://www.ourdomain.com?aff=' . $current_user_login); 
    }
    add_filter( 'wsi/placeholders/custom_url', 'wsi_my_custom_link' );

    Can you help?

  • The topic ‘Appending Value to custom URL’ is closed to new replies.