Changeset 5822 for trunk/bp-themes/bp-default/_inc/ajax.php
- Timestamp:
- 02/21/2012 08:50:41 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/ajax.php
r5737 r5822 101 101 locate_template( array( "$object/$object-loop.php" ), true ); 102 102 } 103 add_action( 'wp_ajax_members_filter', 'bp_dtheme_object_template_loader' ); 104 add_action( 'wp_ajax_groups_filter', 'bp_dtheme_object_template_loader' ); 105 add_action( 'wp_ajax_blogs_filter', 'bp_dtheme_object_template_loader' ); 106 add_action( 'wp_ajax_forums_filter', 'bp_dtheme_object_template_loader' ); 103 add_action( 'wp_ajax_members_filter', 'bp_dtheme_object_template_loader' ); 104 add_action( 'wp_ajax_groups_filter', 'bp_dtheme_object_template_loader' ); 105 add_action( 'wp_ajax_blogs_filter', 'bp_dtheme_object_template_loader' ); 106 add_action( 'wp_ajax_forums_filter', 'bp_dtheme_object_template_loader' ); 107 add_action( 'wp_ajax_messages_filter', 'bp_dtheme_messages_template_loader' ); 108 109 /* 110 * Load messages when searched on the private message page 111 */ 112 113 function bp_dtheme_messages_template_loader(){ 114 locate_template( array( 'members/single/messages/messages-loop.php' ), true ); 115 } 107 116 108 117 // This function will load the activity loop template when activity is requested via AJAX
Note: See TracChangeset
for help on using the changeset viewer.