LLMS_AJAX_Handler::export_admin_table( array $request )

Queue a table export event


Parameters Parameters

$request

(array) (Required) Post data ($_REQUEST).


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/class.llms.ajax.handler.php

	public static function export_admin_table( $request ) {

		if ( ! current_user_can( 'view_lifterlms_reports' ) || empty( $request['handler'] ) ) {
			return false;
		}

		$table = self::get_admin_table_instance( $request['handler'] );
		if ( ! $table ) {
			return false;
		}

		$file = isset( $request['filename'] ) ? $request['filename'] : null;
		return $table->generate_export_file( $request, $file );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.37.15 Verify user permissions before processing request data.
3.28.1 Unknown.
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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