BDB_USERNEWFOLLOWER::bp_start_following_user( $follow )

Validation function when the trigger action is hit


Parameters Parameters

$follow

(Required)


Source Source

File: src/integrations/buddyboss/triggers/bdb-usernewfollower.php

	public function bp_start_following_user( $follow ) {

		$args = [
			'code'           => $this->trigger_code,
			'meta'           => $this->trigger_meta,
			'user_id'        => $follow->follower_id,
			'ignore_post_id' => true,
		];
		Automator()->maybe_add_trigger_entry( $args );
	}