Changeset 13108 for trunk/src/bp-core/bp-core-cache.php
- Timestamp:
- 09/12/2021 08:43:39 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-cache.php
r12898 r13108 200 200 global $wpdb; 201 201 202 $defaults = array( 203 'object_ids' => array(), // Comma-separated list or array of item ids. 204 'object_type' => '', // Canonical component id: groups, members, etc. 205 'cache_group' => '', // Cache group. 206 'meta_table' => '', // Name of the table containing the metadata. 207 'object_column' => '', // DB column for the object ids (group_id, etc). 208 'cache_key_prefix' => '' // Prefix to use when creating cache key names. Eg 'bp_groups_groupmeta'. 202 $r = bp_parse_args( 203 $args, 204 array( 205 'object_ids' => array(), // Comma-separated list or array of item ids. 206 'object_type' => '', // Canonical component id: groups, members, etc. 207 'cache_group' => '', // Cache group. 208 'meta_table' => '', // Name of the table containing the metadata. 209 'object_column' => '', // DB column for the object ids (group_id, etc). 210 'cache_key_prefix' => '', // Prefix to use when creating cache key names. Eg 'bp_groups_groupmeta'. 211 ) 209 212 ); 210 $r = wp_parse_args( $args, $defaults ); 213 211 214 extract( $r ); 212 215
Note: See TracChangeset
for help on using the changeset viewer.