You appear to be a bot. Output may be restricted
Description
Setup the final data for the table
Usage
$void = EDD_Gateway_Error_Log_Table::prepare_items();
Parameters
Returns
void
Source
File name: easy-digital-downloads/includes/admin/reporting/class-gateway-error-logs-list-table.php
Lines:
1 to 17 of 17
public function prepare_items() { global $edd_logs; $columns = $this->get_columns(); $hidden = array(); // No hidden columns $sortable = $this->get_sortable_columns(); $this->_column_headers = array( $columns, $hidden, $sortable ); $this->items = $this->get_logs(); $total_items = $edd_logs->get_log_count( 0, 'gateway_error' ); $this->set_pagination_args( array( 'total_items' => $total_items, 'per_page' => $this->per_page, 'total_pages' => ceil( $total_items / $this->per_page ), ) ); }