BP_ACCACTIVATE::bp_core_activated_user( $user_id,  $key,  $user )

Validation function when the trigger action is hit


Parameters Parameters

$user_id

(Required)

$key

(Required)

$user

(Required)


Source Source

File: src/integrations/buddypress/triggers/bp-accactivate.php

	public function bp_core_activated_user( $user_id, $key, $user ) {



		$args = [
			'code'           => $this->trigger_code,
			'meta'           => $this->trigger_meta,
			'user_id'        => $user_id,
			'ignore_post_id' => true,
		];

		Automator()->maybe_add_trigger_entry( $args );
	}