Changeset 7790 for trunk/bp-groups/bp-groups-filters.php
- Timestamp:
- 02/05/2014 06:53:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-filters.php
r6342 r7790 52 52 add_filter( 'groups_group_description_before_save', 'force_balance_tags' ); 53 53 54 // Trim trailing spaces from name and description when saving 55 add_filter( 'groups_group_name_before_save', 'trim' ); 56 add_filter( 'groups_group_description_before_save', 'trim' ); 57 58 // Escape output of new group creation details 59 add_filter( 'bp_get_new_group_id', 'esc_attr' ); 60 add_filter( 'bp_get_new_group_name', 'esc_attr' ); 61 add_filter( 'bp_get_new_group_description', 'esc_textarea' ); 62 63 // Format numberical output 54 64 add_filter( 'bp_get_total_group_count', 'bp_core_number_format' ); 55 65 add_filter( 'bp_get_group_total_for_member', 'bp_core_number_format' );
Note: See TracChangeset
for help on using the changeset viewer.