/** * Output whether the current topic in the loop belongs to the logged-in user. */ function bp_the_topic_is_mine() { echo bp_get_the_topic_is_mine(); }
</div> <div id="topic-meta"> <h3><?php _e('Edit:', 'buddypress'); ?> <?php bp_the_topic_title(); ?> (<?php bp_the_topic_total_post_count(); ?> )</h3> <?php if (bp_group_is_admin() || bp_group_is_mod() || bp_get_the_topic_is_mine()) { ?> <div class="last admin-links"> <?php bp_the_topic_admin_links(); ?> </div> <?php } ?> <?php