BP_Activity_List_Table::get_sortable_columns()
Get the column names for sortable columns.
Description
Currently, returns an empty array (no columns are sortable).
Return
(array) The columns that can be sorted on the Activity screen.
Source
File: bp-activity/classes/class-bp-activity-list-table.php
function get_sortable_columns() { return array(); /*return array( 'author' => array( 'activity_author', false ), // Intentionally not using "=>" );*/ }
Changelog
Version | Description |
---|---|
BuddyPress 1.6.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.