LLMS_Admin_Post_Table_Forms::add_columns( array $columns )
Add Custom Columns
Parameters Parameters
- $columns
-
(array) (Required) Array of default columns.
Return Return
(array)
Source Source
File: includes/admin/post-types/post-tables/class-llms-admin-post-table-forms.php
public function add_columns( $columns ) { if ( apply_filters( 'llms_forms_disable_post_table_cb', true ) ) { unset( $columns['cb'] ); } return llms_assoc_array_insert( $columns, 'title', 'location', __( 'Location', 'lifterlms' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |