LLMS_Notification_Controller_Subscription_Cancelled::action_callback( obj $order = null, int $student_id = null )

Callback function, called upon student subscription cancellation


Parameters Parameters

$order

(obj) (Optional) Instance of the LLMS_Order

Default value: null

$student_id

(int) (Optional) WP User ID of the Student

Default value: null


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/notifications/controllers/class.llms.notification.controller.subscription.cancelled.php

	public function action_callback( $order = null, $student_id = null ) {

		$this->user_id = $student_id;
		$this->post_id = $order->get( 'id' );

		$this->send();

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.17.8 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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