LLMS_Abstract_Exportable_Admin_Table::get_export( array $args = array() )
Gets data prepared for an export
Parameters Parameters
- $args
-
(array) (Optional) Query arguments to be passed to get_results().
Default value: array()
Return Return
(array)
Source Source
File: includes/abstracts/llms.abstract.exportable.admin.table.php
* * @since 3.15.0 * @since 3.15.1 Unknown. * * @param array $args Query arguments to be passed to get_results(). * @return array */ public function get_export( $args = array() ) { $this->get_results( $args ); $export = array(); if ( 1 === $this->current_page ) { $export[] = $this->get_export_header(); } foreach ( $this->get_tbody_data() as $row ) { $row_data = array(); foreach ( array_keys( $this->get_columns( 'export' ) ) as $row_key ) { $row_data[ $row_key ] = html_entity_decode( $this->get_export_data( $row_key, $row ) );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.15.1 | Unknown. |
3.15.0 | Introduced. |