LLMS_Admin_Users_Table::add_cols( array $columns )

Add Custom Columns to the Admin Users Table Screen


Parameters Parameters

$columns

(array) (Required) key=>val array of existing columns


Top ↑

Return Return

(array) $columns updated columns


Top ↑

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;
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.