diff --git src/bp-members/admin/bp-members-classes.php src/bp-members/admin/bp-members-classes.php
index 413e1e2..b9a5e36 100644
|
|
class BP_Members_List_Table extends WP_Users_List_Table { |
334 | 334 | public function column_count_sent( $signup_object = null ) { |
335 | 335 | echo absint( $signup_object->count_sent ); |
336 | 336 | } |
| 337 | |
| 338 | /** |
| 339 | * Allow plugins to add their costum column. |
| 340 | * |
| 341 | * @since BuddyPress 2.1.0 |
| 342 | * |
| 343 | * @param object $signup_object The signup data object. |
| 344 | * @param string the column name. |
| 345 | */ |
| 346 | function column_default( $signup_object = null, $column_name = '' ) { |
| 347 | return apply_filters( 'bp_members_signup_custom_column', '', $column_name, $signup_object ); |
| 348 | } |
337 | 349 | } |
338 | 350 | |
339 | 351 | endif; |
… |
… |
class BP_Members_MS_List_Table extends WP_MS_Users_List_Table { |
659 | 671 | public function column_count_sent( $signup_object = null ) { |
660 | 672 | echo absint( $signup_object->count_sent ); |
661 | 673 | } |
| 674 | |
| 675 | /** |
| 676 | * Allow plugins to add their costum column. |
| 677 | * |
| 678 | * @since BuddyPress 2.1.0 |
| 679 | * |
| 680 | * @param object $signup_object The signup data object. |
| 681 | * @param string the column name. |
| 682 | */ |
| 683 | function column_default( $signup_object = null, $column_name = '' ) { |
| 684 | return apply_filters( 'bp_members_ms_signup_custom_column', '', $column_name, $signup_object ); |
| 685 | } |
662 | 686 | } |
663 | 687 | |
664 | 688 | endif; |