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_stop_following( array $args )

Stop Following the member.

Description

Parameters

$args

(array) (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_stop_following( $args ) {
		if ( bp_is_active( 'follow' ) && function_exists( 'bp_follow_stop_following' ) ) {
			return bp_follow_stop_following( $args );
		} elseif ( function_exists( 'bp_stop_following' ) ) {
			return bp_stop_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.