LLMS_Admin_Table::get_columns( $context = 'display' )
Retrieve the array of columns defined by set_columns.
Return Return
(array)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
public function get_columns( $context = 'display' ) { $cols = apply_filters( 'llms_table_get_' . $this->id . '_columns', $this->set_columns(), $context ); if ( $this->is_exportable ) { foreach ( $cols as $id => $data ) { if ( ! $this->is_col_visible( $data, $context ) ) { unset( $cols[ $id ] ); } } } return $cols; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |