Changeset 2358 for trunk/bp-activity/bp-activity-templatetags.php
- Timestamp:
- 01/19/2010 03:21:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-templatetags.php
r2355 r2358 187 187 188 188 return apply_filters( 'bp_get_activity_pagination_links', $activities_template->pag_links ); 189 } 190 191 function bp_activity_count() { 192 echo bp_get_activity_count(); 193 } 194 function bp_get_activity_count() { 195 global $activities_template; 196 197 return apply_filters( 'bp_get_activity_count', (int)$activities_template->activity_count ); 198 } 199 200 function bp_activity_per_page() { 201 echo bp_get_activity_per_page(); 202 } 203 function bp_get_activity_per_page() { 204 global $activities_template; 205 206 return apply_filters( 'bp_get_activity_per_page', (int)$activities_template->pag_num ); 189 207 } 190 208
Note: See TracChangeset
for help on using the changeset viewer.