Server : Apache System : Linux server.lienzindia.com 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64 User : plutus ( 1007) PHP Version : 7.4.33 Disable Function : NONE Directory : /home/plutus/public_html/wp-content/plugins/litespeed-cache/thirdparty/ |
Upload File : |
<?php /** * The Third Party integration with the Avada plugin. * * @since 1.1.0 */ namespace LiteSpeed\Thirdparty; defined('WPINC') || exit(); class Avada { /** * Detects if Avada is installed. * * @since 1.1.0 * @access public */ public static function detect() { if (!defined('AVADA_VERSION')) { return; } add_action('update_option_avada_dynamic_css_posts', __CLASS__ . '::flush'); add_action('update_option_fusion_options', __CLASS__ . '::flush'); } /** * Purges the cache * * @since 1.1.0 * @access public */ public static function flush() { do_action('litespeed_purge_all', '3rd avada'); } }