# wpforo/3.2.0/themes/classic/profile-following.php

wpForo Forum, version 3.2.0. 48 lines.

- Page: https://pluginprobe.com/plugins/wpforo/3.2.0/code/themes/classic/profile-following.php
- Raw: https://pluginprobe.com/plugins/wpforo/3.2.0/raw/themes/classic/profile-following.php
- Modified: 2026-09-25T08:24:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpforo/3.2.0/code/themes/classic/profile-following.php#L10-L20`.

```php
<?php
// Exit if accessed directly
if( ! defined( 'ABSPATH' ) ) exit;

$follows = (array) wpfval( WPF()->current_object, 'follows' );
?>

<div class="wpforo-following">
    <?php do_action( 'wpforo_template_profile_following_head_bar', $follows ); ?>

    <h3 class="wpf-tab-subtitle"><?php wpforo_phrase('Following') ?></h3>

	<?php if( $follows ) : ?>
        <div class="wpforo-following-list">
            <?php
            foreach( $follows as $follow ) {
	            if( $follow['itemtype'] === 'user' ) {
		            if( $user = WPF()->member->get_member( $follow['itemid'] ) ){
			            printf(
				            '<div class="wpforo-follower">
                                <div class="follower-avatar">%1$s</div>
                                <div class="follower-title">%2$s</div>
                                <div class="sbn-action">%3$s</div>
                            </div>',
				            wpforo_member_link( $user, '', 64, '', false, 'avatar' ),
				            wpforo_member_link( $user, '', 30, '', false ),
				            (
                                ( WPF()->current_object['user_is_same_current_user'] || wpforo_current_user_is( 'admin' ) )
                                ? sprintf(
                                    '<a href="%1$s" title="%2$s"><i class="fas fa-bell-slash"></i> %2$s</a>',
                                    esc_url( (string) $follow['unfollow_link'] ),
                                    wpforo_phrase( 'Unfollow', false )
                                ) : ''
                            )
			            );
		            }
	            }
            }
            ?>
        </div>
        <div class="sbn-foot">
			<?php wpforo_template_pagenavi() ?>
        </div>
	<?php else : ?>
        <p class="wpf-p-error"> <?php wpforo_phrase( 'No following found for this member.' ) ?> </p>
	<?php endif; ?>
</div>

```
