LLMS_Processors::load_processor( string $name )
Load a single processor
Description Description
Parameters Parameters
- $name
-
(string) (Required) name of the processor
Return Return
(obj|false) instance of the processor if found, otherwise false
Source Source
File: includes/processors/class.llms.processors.php
public function load_processor( $name ) { $path = apply_filters( 'llms_load_processor_path', $name ); if ( false === strpos( $path, '.php' ) ) { $file = str_replace( '_', '.', $path ); $path = LLMS_PLUGIN_DIR . 'includes/processors/class.llms.processor.' . $file . '.php'; } if ( file_exists( $path ) ) { return require_once $path; } return false; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.15.0 | Introduced. |