Changeset 1693 for trunk/bp-wire/deprecated/bp-wire-deprecated.php
- Timestamp:
- 08/25/2009 01:17:25 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-wire/deprecated/bp-wire-deprecated.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-wire/deprecated/bp-wire-deprecated.php
r1655 r1693 83 83 add_action( 'wp_ajax_get_wire_posts', 'bp_wire_ajax_get_wire_posts' ); 84 84 85 /* Use activity record functions in your specific component */ 86 function bp_wire_record_activity( $args = true ) { 87 if ( function_exists('bp_activity_record') ) { 88 extract($args); 89 90 bp_activity_record( $item_id, $component_name, $component_action, $is_private, $secondary_item_id, $user_id, $secondary_user_id ); 91 } 92 } 93 94 /* Use activity delete functions in your specific component */ 95 function bp_wire_delete_activity( $args = true ) { 96 if ( function_exists('bp_activity_delete') ) { 97 extract($args); 98 bp_activity_delete( $item_id, $component_name, $component_action, $user_id, $secondary_item_id ); 99 } 100 } 85 101 ?>
Note: See TracChangeset
for help on using the changeset viewer.