LLMS_Notifications::load_processor( string $type, string $path = null )
Load a single processor
Parameters Parameters
- $type
-
(string) (Required) Processor type id.
- $path
-
(string) (Optional) path (for allowing 3rd party processor loading).
Default value: null
Return Return
(boolean)
Source Source
File: includes/notifications/class.llms.notifications.php
* @return boolean */ public function load_processor( $type, $path = null ) { // Default path for core processors. if ( ! $path ) { $path = $this->get_directory() . 'processors/class.llms.notification.processor.' . $type . '.php'; } if ( file_exists( $path ) ) { $this->processors[ $type ] = require_once $path; return true; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |