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".
Parameters Parameters
- $name
-
(string) (Required) Trigger name.
Return Return
(string)
Source Source
File: includes/notifications/class.llms.notifications.php
private function name_to_file( $name ) { return str_replace( '_', '.', $name ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |