This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

BP_REST_Members_Endpoint::rest_bp_get_follower_ids( mixed $args )

Returns a comma separated list of user_ids for a given user’s followers.

Description

Parameters

$args

(Required) Arguments can be passed as an associative array or as a URL argument string.

Return

(mixed) Comma-seperated string of user IDs on success. Integer zero on failure.

Source

File: bp-members/classes/class-bp-rest-members-endpoint.php

	private function rest_bp_get_follower_ids( $args ) {
		if ( bp_is_active( 'follow' ) ) {
			return bp_get_follower_ids( $args );
		} else {
			return ( function_exists( 'bp_get_followers' ) ? bp_get_followers( $args ) : '' );
		}
	}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.