Add a custom column in users list page
One thing you should remember is that function, which will be hooked into manage_users_custom_column action must have 3 parameters, the first of which (i.e. $val) should be the returned value: // Add custom column using ‘manage_users_columns’ filter if(!function_exists(‘bm_utm_column’)){ function bm_utm_column($columns) { return array_merge( $columns, array(‘utm_source’ => __(‘UTM source’), ‘utm_medium’ => __(‘UTM medium’) ) ); } … Read more