LLMS_Admin_Post_Table_Instructors::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.instructors.php
public function add_columns( $columns ) { $offset = array_search( 'title', array_keys( $columns ) ); $add = array( 'llms-instructors' => __( 'Instructors', 'lifterlms' ), ); return array_slice( $columns, 0, $offset + 1 ) + $add + array_slice( $columns, $offset ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.13.0 | Introduced. |