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

Check member is following or not.

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_is_following( $args ) {
		if ( bp_is_active( 'follow' ) && function_exists( 'bp_follow_is_following' ) ) {
			return bp_follow_is_following( $args );
		} elseif ( function_exists( 'bp_is_following' ) ) {
			return bp_is_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.