Here's what I'm looking to accomplish. When a user creates a profile they fill out some information with a form. After they submit the form the information is displayed on their profile. One of the form fields is going to be a button that other users can click to do an action. To display the button this is the PHP I currently have:
add_action('kleo_bp_after_profile_name', 'my_profile_button');
function my_profile_button()
{
echo '<a href="#" class="success button radius show-for-small" rel="nofollow">Talk</a>';
}
I need to input the form information into the href="#" spot. Does anyone know a way around this?
Thanks.