LLMS_Notification_Controller_Achievement_Earned::get_subscriber( string $subscriber )

Takes a subscriber type (student, author, etc) and retrieves a User ID

Parameters Parameters


(string) (Required) subscriber type string

Top ↑

Return Return


Top ↑

Source Source

File: includes/notifications/controllers/class.llms.notification.controller.achievement.earned.php

	protected function get_subscriber( $subscriber ) {

		switch ( $subscriber ) {

			case 'student':
				$uid = $this->user_id;

				$uid = false;


		return $uid;


Top ↑

Changelog Changelog

Version Description
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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