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_Processor_Table_To_Csv::get_handler( string $handler )

Retrieve an instance of the table handler class


Description Description


Parameters Parameters

$handler

(string) (Required) name of the handler


Top ↑

Return Return

(obj|false)


Top ↑

Source Source

File: includes/processors/class.llms.processor.table.to.csv.php

	private function get_handler( $handler ) {

		if ( 0 !== strpos( $handler, 'LLMS_Table_' ) ) {
			$handler = 'LLMS_Table_' . $handler;
		}

		require_once LLMS_PLUGIN_DIR . 'includes/admin/reporting/class.llms.admin.reporting.php';
		LLMS_Admin_Reporting::includes();

		if ( class_exists( $handler ) ) {
			return new $handler();
		}

		return false;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.15.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: