LLMS_Engagements::handle_certificate( array $args )

Award a certificate


Description Description

This is called via do_action() by the ‘maybe_trigger_engagement’ function in this class


Parameters Parameters

$args

(array) (Required) indexed array of args 0 => WP User ID 1 => WP Post ID of the email post 2 => WP Post ID of the related post that triggered the award


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.engagements.php

	public function handle_certificate( $args ) {
		$this->log( '======== handle_certificate() =======' );
		$this->log( $args );
		$c = LLMS()->certificates();
		$c->trigger_engagement( $args[0], $args[1], $args[2] );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.





Permalink: