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_Actions_Endpoint::bp_rest_follow_start_following( array $args )

Start Following the member.

Description

Parameters

$args

(Required) Argument with leader_id and follower_id.

Return

(mixed)

Source

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

	private function bp_rest_follow_start_following( $args ) {
		if ( bp_is_active( 'follow' ) && function_exists( 'bp_follow_start_following' ) ) {
			return bp_follow_start_following( $args );
		} elseif ( function_exists( 'bp_start_following' ) ) {
			return bp_start_following( $args );
		}

		return false;
	}

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.