bbp_is_object_of_user

bbp_is_object_of_user

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_is_object_of_user') is found 1 times:

  • /includes/users/engagements.php line 150
    	$user_ids  = bbp_get_users_for_object( $object_id, $rel_key, $rel_type );
    	$retval    = is_numeric( array_search( $user_id, $user_ids, true ) );
    
    	// Filter & return
    	return (bool) apply_filters( 'bbp_is_object_of_user', $retval, $object_id, $user_id, $rel_key, $rel_type );
    }
    
    /**
     * Get the query part responsible for JOINing objects to user IDs
     *
     * @since 2.6.0 bbPress (r6747)