Changeset 3918 for trunk/bp-core/bp-core-component.php
- Timestamp:
- 01/25/2011 09:11:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-component.php
r3917 r3918 102 102 'root_slug' => '', 103 103 'notification_callback' => '', 104 'global_tables' => '' 104 'search_string' => '', 105 'global_tables' => '', 105 106 ); 106 107 $r = wp_parse_args( $args, $defaults ); 107 108 108 109 // Slug used for permalinks 109 $this->slug = apply_filters( 'bp_' . $this->id . '_slug', $r['slug']);110 $this->slug = apply_filters( 'bp_' . $this->id . '_slug', $r['slug'] ); 110 111 111 112 // Slug used for root directory 112 $this->root_slug = apply_filters( 'bp_' . $this->id . '_root_slug', $r['root_slug'] ); 113 $this->root_slug = apply_filters( 'bp_' . $this->id . '_root_slug', $r['root_slug'] ); 114 115 // Search string 116 $this->search_string = apply_filters( 'bp_' . $this->id . '_search_string', $r['search_string'] ); 113 117 114 118 // Notifications callback
Note: See TracChangeset
for help on using the changeset viewer.