LLMS_AJAX_Handler::export_admin_table( array $request )
Queue a table export event
Parameters Parameters
- $request
-
(array) (Required) Post data ($_REQUEST).
Return Return
(array)
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 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.37.15 | Verify user permissions before processing request data. |
3.28.1 | Unknown. |
3.15.0 | Introduced. |