mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-23 08:41:24 +01:00
Filter for custom get column headers page. Props Malaiac. fixes #7782
git-svn-id: http://svn.automattic.com/wordpress/trunk@8967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e40f6e4067
commit
9343bc92e8
@ -565,6 +565,8 @@ function get_column_headers($page) {
|
|||||||
'posts' => __('Posts')
|
'posts' => __('Posts')
|
||||||
);
|
);
|
||||||
return apply_filters('manage_users_columns', $columns);
|
return apply_filters('manage_users_columns', $columns);
|
||||||
|
default :
|
||||||
|
return apply_filters('manage_' . $page . '_columns', $columns);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $columns;
|
return $columns;
|
||||||
|
Loading…
Reference in New Issue
Block a user