LLMS_Abstract_Notification_Controller::get_mock_view( string $type = 'basic', int $subscriber = null, int $user_id = null, int $post_id = null )

Get a fake instance of a view, used for managing options & customization on the admin panel


Parameters Parameters

$type

(string) (Optional) notification type

Default value: 'basic'

$subscriber

(int) (Optional) subscriber id

Default value: null

$user_id

(int) (Optional) user id

Default value: null

$post_id

(int) (Optional) post id

Default value: null


Top ↑

Return Return

(LLMS_Abstract_Notification_View|false)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.notification.controller.php

				}
			}
		}

	}

	/**
	 * Get a fake instance of a view, used for managing options & customization on the admin panel
	 *
	 * @since 3.8.0
	 *
	 * @param string $type       Optional. Notification type. Default is 'basic'.


Top ↑

Changelog 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.