1
<a href="<?php echo bp_loggedin_user_domain() ?>/posts/edit/" ?>Edit</a>