Changeset 7918 for trunk/bp-blogs/bp-blogs-functions.php
- Timestamp:
- 02/18/2014 12:50:11 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-functions.php
r7885 r7918 38 38 * @type int $per_page Default: 20. 39 39 * @type int $page Default: 1. 40 * @type bool $update_meta_cache Whether to pre-fetch blogmeta. Default: true. 40 41 * } 41 42 * @return array See {@link BP_Blogs_Blog::get()}. … … 49 50 'per_page' => 20, // The number of results to return per page 50 51 'page' => 1, // The page to return if limiting per page 52 'update_meta_cache' => true, 51 53 ); 52 54 … … 54 56 extract( $params, EXTR_SKIP ); 55 57 56 return apply_filters( 'bp_blogs_get_blogs', BP_Blogs_Blog::get( $type, $per_page, $page, $user_id, $search_terms ), $params );58 return apply_filters( 'bp_blogs_get_blogs', BP_Blogs_Blog::get( $type, $per_page, $page, $user_id, $search_terms, $update_meta_cache ), $params ); 57 59 } 58 60
Note: See TracChangeset
for help on using the changeset viewer.