Located in: wpsc-user-log.php

Functions that call this hook: None – this is the user-log template file
Arguments Accepted: ‘|’ – this is the separator between the links
Version Introduced: 3.8

Description: This action is triggered on the user profile page you would use it to add additional menus to that page for displaying extra account information. For example you could use it to display membership details if your creating a plugin that allows for recurring billing.

Use Case:
add_action( ‘wpsc_additional_user_profile_links’, ‘add_user_subscription_link’ );

function add_user_subscription_link(){
<a href="<?php echo get_option( ‘user_account_url’ ) . $separator . "subscriptions=true"; ?>">Your Subscriptions</a>"

Code in context:
[php firstline=”14″ highlight=”20″]
<div class="wrap">
<?php if ( is_user_logged_in() ) : ?>
<div class="user-profile-links">
<a href="<?php echo get_option( ‘user_account_url’ ); ?>"><?php _e(‘Purchase History’,’wpsc’); ?></a> |
<a href="<?php echo get_option( ‘user_account_url’ ) . $separator . "edit_profile=true"; ?>"><?php _e(‘Your Details’,’wpsc’); ?></a> |
<a href="<?php echo get_option( ‘user_account_url’ ) . $separator . "downloads=true"; ?>"><?php _e(‘Your Downloads’,’wpsc’); ?></a>
<?php do_action(‘wpsc_additional_user_profile_links’, ‘|’); ?>
<?php endif; ?>

<br />
<?php if ( is_wpsc_profile_page() ) : ?>