Skip to content

Commit

Permalink
Add hook
Browse files Browse the repository at this point in the history
  • Loading branch information
boonebgorges committed Sep 24, 2014
1 parent d234700 commit cfe2796
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/cacap/header-top.php
Expand Up @@ -31,10 +31,15 @@
<div class="activity"><?php bp_last_activity( bp_displayed_user_id() ) ?></div>

<?php if ( bp_is_my_profile() ) : ?>

<div id="change-avatar-button" class="generic-button">
<a href="<?php echo bp_displayed_user_domain() ?>profile/change-avatar">Change Avatar</a>
</div>

<?php endif ?>

<?php do_action( 'cacap_below_avatar' ); ?>

</div>
</div>

Expand Down

0 comments on commit cfe2796

Please sign in to comment.