Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_action("bp_nav_items","show_user_link");
- function show_user_link(){
- if(!is_user_logged_in())
- return;
- ?>
- <li<?php if ( bp_is_home()) : ?> class="selected"<?php endif; ?>>
- <a href="<?php echo bp_loggedin_user_domain() ?>">MY Profile</a>
- </li>
- <?php
- }
- ?>
Add Comment
Please, Sign In to add comment