Changeset 7905 for trunk/bp-activity/bp-activity-functions.php
- Timestamp:
- 02/17/2014 01:02:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-functions.php
r7885 r7905 911 911 'in' => false, // Comma-separated list or array of activity IDs to which you want to limit the query 912 912 'spam' => 'ham_only', // 'ham_only' (default), 'spam_only' or 'all'. 913 'update_meta_cache' => true, 913 914 914 915 /** … … 940 941 'display_comments' => $display_comments, 941 942 'show_hidden' => $show_hidden, 942 'spam' => $spam 943 'spam' => $spam, 944 'update_meta_cache' => $update_meta_cache, 943 945 ); 944 946 $activity = BP_Activity_Activity::get( $args ); … … 981 983 * except for the following: 982 984 * @type string|int|array Single activity ID, comma-separated list of IDs, 983 * 985 * or array of IDs. 984 986 * } 985 987 * @return array $activity See BP_Activity_Activity::get() for description. … … 995 997 'sort' => 'DESC', // sort ASC or DESC 996 998 'spam' => 'ham_only', // Retrieve items marked as spam 999 'update_meta_cache' => true, 997 1000 ); 998 1001 $r = wp_parse_args( $args, $defaults ); … … 1007 1010 'show_hidden' => $show_hidden, 1008 1011 'in' => $activity_ids, 1009 'spam' => $spam 1012 'spam' => $spam, 1013 'update_meta_cache' => $update_meta_cache, 1010 1014 ); 1011 1015 return apply_filters( 'bp_activity_get_specific', BP_Activity_Activity::get( $get_args ), $args, $get_args );
Note: See TracChangeset
for help on using the changeset viewer.