bbp_is_user_favorite

bbp_is_user_favorite

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_is_user_favorite') is found 1 times:

  • /includes/users/engagements.php line 495
    function bbp_is_user_favorite( $user_id = 0, $topic_id = 0 ) {
    	$retval = bbp_is_object_of_user( $topic_id, $user_id, '_bbp_favorite' );
    
    	// Filter & return
    	return (bool) apply_filters( 'bbp_is_user_favorite', $retval, $user_id, $topic_id );
    }
    
    /**
     * Add a topic to user's favorites
     *
     * Note that both the User and Topic should be verified to exist before using