Insert a PHP link on a WP page

I need to insert a link to an upgrade page where my users upgrade to a premium account. I am using the built in membership function in the LoveStory theme from Themeforest.
I can see the link in the PHP file is this:
<li <?php if(get_query_var('memberships')) { ?>class="current"<?php } ?>><a href="<?php echo ThemexUser::$data['user']['memberships_url']; ?>"><?php _e('My Membership', 'lovestory'); ?></a></li>

but is it possible to use that in a link on my homepage or any other page, so that i can create upgrade links for the user?