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

bbp_is_user_subscribed_to_topic( int $user_id, int $topic_id )

Check if a topic is in user’s subscription list or not


Description Description


Parameters Parameters

$user_id

(Optional) User id

$topic_id

(Optional) Topic id


Top ↑

Return Return

(bool) True if the topic is in user's subscriptions, otherwise false


Top ↑

Source Source

File: includes/users/engagements.php

function bbp_is_user_subscribed_to_topic( $user_id = 0, $topic_id = 0 ) {
	return bbp_is_user_subscribed( $user_id, $topic_id );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 bbPress (r6543) Use bbp_is_user_subscribed()
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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