Esempio n. 1
0
        ?>
						</a>
						<?php 
        echo sprintf(__('%1$s said %2$s:', 'buddypress'), bp_get_the_topic_post_poster_name(), bp_get_the_topic_post_time_since());
        ?>
					</div>

					<div class="post-content">
						<?php 
        bp_the_topic_post_content();
        ?>
					</div>

					<div class="admin-links">
						<?php 
        if (bp_group_is_admin() || bp_group_is_mod() || bp_get_the_topic_post_is_mine()) {
            ?>
							<?php 
            bp_the_topic_post_admin_links();
            ?>
						<?php 
        }
        ?>

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

						<a href="#post-<?php 
        bp_the_topic_post_id();
        ?>
/**
 * Output whether the current post in the loop belongs to the logged-in user.
 *
 * @since 1.1.0
 */
function bp_the_topic_post_is_mine()
{
    echo bp_get_the_topic_post_is_mine();
}