Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/09/2015 05:07:56 AM (10 years ago)
Author:
tw2113
Message:

More updates to BP-Core docs.

See #6398.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-cache.php

    r10012 r10039  
    22/**
    33 * BuddyPress Core Caching Functions.
     4 *
     5 * @package BuddyPress
    46 *
    57 * Caching functions handle the clearing of cached objects and pages on specific
     
    3840 * Clear all cached objects for a user, or those that a user is part of.
    3941 *
    40  * @param string $user_id
     42 * @param string $user_id User ID to delete cache for.
    4143 */
    4244function bp_core_clear_user_object_cache( $user_id ) {
     
    6264 * @since BuddyPress (2.0.0)
    6365 *
    64  * @param int $post_id
     66 * @param int $post_id ID of the page that was saved.
    6567 */
    6668function bp_core_clear_directory_pages_cache_page_edit( $post_id ) {
     
    6971    }
    7072
    71     // Bail if BP is not defined here
     73    // Bail if BP is not defined here.
    7274    if ( ! buddypress() ) {
    7375        return;
     
    185187        'meta_table'       => '',      // Name of the table containing the metadata
    186188        'object_column'    => '',      // DB column for the object ids (group_id, etc)
    187         'cache_key_prefix' => ''       // Prefix to use when creating cache key names. Eg
    188                                        // 'bp_groups_groupmeta'
     189        'cache_key_prefix' => ''       // Prefix to use when creating cache key names. Eg 'bp_groups_groupmeta'
    189190    );
    190191    $r = wp_parse_args( $args, $defaults );
Note: See TracChangeset for help on using the changeset viewer.