bp_core_clear_cache

  • do_action( 'bp_core_clear_cache' )

    Source Reference:

    • Component: BuddyPress:: bp-core
      File: /bp-core/bp-core-cache.php :: Trac Source Line: 22
       * When wp-super-cache is installed this function will clear cached pages
       * so that success/error messages are not cached, or time sensitive content.
       *
       * @package BuddyPress Core
       */
      function bp_core_clear_cache() {
      	global $cache_path, $cache_filename;
      
      	if ( function_exists( 'prune_super_cache' ) ) {
      		do_action( 'bp_core_clear_cache' );
      		return prune_super_cache( $cache_path, true );
      	}
      }
      
      /**
       * Add's 'bp' to global group of network wide cachable objects
       *
       * @package BuddyPress Core
       */
      function bp_core_add_global_group() {
      

Comments are closed.