LLMS_Admin_Users_Table::add_cols( array $columns )
Add Custom Columns to the Admin Users Table Screen
Contents
Parameters Parameters
- $columns
-
(array) (Required) key=>val array of existing columns
Return Return
(array) $columns updated columns
Source Source
File: includes/admin/class-llms-admin-users-table.php
public function add_cols( $columns ) { $columns['llms-last-login'] = __( 'Last Login', 'lifterlms' ); $columns['llms-enrollments'] = __( 'Enrollments', 'lifterlms' ); return $columns; }
Expand full source code Collapse full source code View on GitHub