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_Processors::load_all()

Load all processors.


Return Return

(void)


Top ↑

Source Source

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

	private function load_all() {

		/**
		 * Filter the list of available processors to be loaded.
		 *
		 * Third parties can use this filter to load custom processors.
		 *
		 * @since 5.0.0
		 *
		 * @see llms_load_processor_path To add a custom load path for the loaded processor.
		 *
		 * @param string[] $classes A list of processor class ids/slugs.
		 */
		$classes = apply_filters( 'llms_load_processors', $this->classes );

		foreach ( $classes as $name ) {

			$class = $this->load_processor( $name );

			if ( $class ) {

				$this->processors[ $name ] = $class;

			}
		}

	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.8.0 Use the value from the llms_load_processors filter.
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.