bplau_users_add_last_active_column

Register column on Users page in wp-admin area.

Description

(array) bplau_users_add_last_active_column( (array) $columns ); 

Returns (array)

Parameters (1)

0. $columns (array)
The columns.

Usage

  1. if ( !function_exists( 'bplau_users_add_last_active_column' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-last-active-users-wp-admin/bpla-users.php'; 
  3.  
  4. // The columns. 
  5. $columns = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bplau_users_add_last_active_column($columns); 
  9.  

Defined (1)

The function is defined in the following location(s).

/bpla-users.php  
  1. function bplau_users_add_last_active_column( $columns ) { 
  2. $columns['bp_last_active'] = __( 'Last Active', 'buddypress' ); 
  3.  
  4. return $columns;