[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Blogs Caching. Caching functions handle the clearing of cached objects and pages on specific actions throughout BuddyPress.
File Size: | 68 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bp_blogs_update_meta_cache( $blog_ids = false ) X-Ref |
Slurp up blogmeta for a specified set of blogs. It grabs all blogmeta associated with all of the blogs passed in $blog_ids and adds it to the WP cache. This improves efficiency when using querying blogmeta inline. param: int|string|array|bool $blog_ids Accepts a single blog ID, or a comma- |
bp_blogs_clear_blog_object_cache( $blog_id = 0, $user_id = 0 ) X-Ref |
Clear the blog object cache. since: 1.0.0 param: int $blog_id ID of the current blog. param: int $user_id ID of the user whose blog cache should be cleared. |
Generated: Tue Dec 3 01:00:55 2024 | Cross-referenced by PHPXref 0.7.1 |