Warning: This function has been deprecated. bbPress (r6543) instead.

bbp_get_forum_subscribers( int $forum_id )

Get the users who have subscribed to the forum


Description Description


Parameters Parameters

$forum_id

(Optional) forum id


Top ↑

Return Return

(array|bool) Results if the forum has any subscribers, otherwise false


Top ↑

Source Source

File: includes/users/engagements.php

function bbp_get_forum_subscribers( $forum_id = 0 ) {
	$users = bbp_get_users_for_object( $forum_id, '_bbp_subscription' );

	// Filter & return
	return (array) apply_filters( 'bbp_get_forum_subscribers', $users, $forum_id );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 bbPress (r6543)
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.