LLMS_Abstract_Exportable_Admin_Table::generate_export_file( array $args = array(), string $filename = null, string $type = 'csv' )

Generate an export file for the current table.


Description Description


Parameters Parameters

$args

(Optional) Arguments to pass get_results().

Default value: array()

$filename

(Optional) Filename of the existing file, if omitted creates a new file, if passed, will continue adding to existing file.

Default value: null

$type

(Optional) Export file type for forward compatibility. Currently only accepts 'csv'.

Default value: 'csv'


Top ↑

Return Return

(WP_Error|array)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.exportable.admin.table.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.37.15 "Sanitize" submitted filename.
3.28.1 Unknown.
3.28.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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