Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Notifications::name_to_file( string $name )

Convert a trigger name to a filename string

Description Description

EG: "lesson_complete" to "lesson.complete".

Top ↑

Parameters Parameters


(string) (Required) Trigger name.

Top ↑

Return Return


Top ↑

Source Source

File: includes/notifications/class.llms.notifications.php

	private function name_to_file( $name ) {
		return str_replace( '_', '.', $name );

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.