/
home
/
techb158
/
primomovers.ca
/
wp-content
/
plugins
/
everest-forms
/
includes
/
/home/techb158/primomovers.ca/wp-content/plugins/everest-forms/includes
mkdir
upload
Name
Size
Mode
Actions
abilities/
-
0755
rm
abstracts/
-
0755
rm
admin/
-
0755
rm
blocks/
-
0755
rm
elementor/
-
0755
rm
export/
-
0755
rm
fields/
-
0755
rm
Helpers/
-
0755
rm
Integrations/
-
0755
rm
interfaces/
-
0755
rm
libraries/
-
0755
rm
log-handlers/
-
0755
rm
RestApi/
-
0755
rm
shortcodes/
-
0755
rm
stats/
-
0755
rm
templates/
-
0755
rm
traits/
-
0755
rm
class-everest-forms.php
15147
0644
edit
dl
rm
class-evf-addon-upsell.php
10592
0644
edit
dl
rm
class-evf-ajax.php
78822
0644
edit
dl
rm
class-evf-autoloader.php
1968
0644
edit
dl
rm
class-evf-background-process-import-entries.php
5276
0644
edit
dl
rm
class-evf-background-updater.php
3351
0644
edit
dl
rm
class-evf-cache-helper.php
2416
0644
edit
dl
rm
class-evf-cron.php
1871
0644
edit
dl
rm
class-evf-deprecated-action-hooks.php
4008
0644
edit
dl
rm
class-evf-deprecated-filter-hooks.php
3729
0644
edit
dl
rm
class-evf-email-entries-report.php
11878
0644
edit
dl
rm
class-evf-emails.php
20134
0644
edit
dl
rm
class-evf-fields.php
4828
0644
edit
dl
rm
class-evf-form-handler.php
16780
0644
edit
dl
rm
class-evf-form-task.php
95466
0644
edit
dl
rm
class-evf-forms-features.php
1957
0644
edit
dl
rm
class-evf-frontend-scripts.php
17399
0644
edit
dl
rm
class-evf-install.php
21513
0644
edit
dl
rm
class-evf-integrations.php
6943
0644
edit
dl
rm
class-evf-log-levels.php
2674
0644
edit
dl
rm
class-evf-logger.php
8471
0644
edit
dl
rm
class-evf-post-types.php
5254
0644
edit
dl
rm
class-evf-privacy.php
7587
0644
edit
dl
rm
class-evf-report-cron.php
6689
0644
edit
dl
rm
class-evf-reporting.php
1201
0644
edit
dl
rm
class-evf-session-handler.php
8211
0644
edit
dl
rm
class-evf-shortcodes.php
2084
0644
edit
dl
rm
class-evf-smart-tags.php
20742
0644
edit
dl
rm
class-evf-template-loader.php
14643
0644
edit
dl
rm
class-evf-validation.php
934
0644
edit
dl
rm
evf-conditional-functions.php
1242
0644
edit
dl
rm
evf-core-functions.php
201575
0644
edit
dl
rm
evf-deprecated-functions.php
6365
0644
edit
dl
rm
evf-entry-functions.php
9367
0644
edit
dl
rm
evf-formatting-functions.php
15958
0644
edit
dl
rm
evf-notice-functions.php
6378
0644
edit
dl
rm
evf-template-functions.php
1225
0644
edit
dl
rm
evf-template-hooks.php
439
0644
edit
dl
rm
evf-update-functions.php
10203
0644
edit
dl
rm
Edit:
/home/techb158/primomovers.ca/wp-content/plugins/everest-forms/includes/class-evf-cache-helper.php
(2416B)
<?php /** * Cache Helper Class * * @class EVF_Cache_Helper * @version 1.0.0 * @package EverestForms/Classes */ defined( 'ABSPATH' ) || exit; /** * EVF_Cache_Helper Class. */ class EVF_Cache_Helper { /** * Hook in methods. */ public static function init() { add_action( 'admin_notices', array( __CLASS__, 'notices' ) ); } /** * Get prefix for use with wp_cache_set. Allows all cache in a group to be invalidated at once. * * @param string $group Group of cache to get. * @return string */ public static function get_cache_prefix( $group ) { $prefix = wp_cache_get( 'evf_' . $group . '_cache_prefix', $group ); if ( false === $prefix ) { $prefix = 1; wp_cache_set( 'evf_' . $group . '_cache_prefix', $prefix, $group ); } return 'evf_cache_' . $prefix . '_'; } /** * Increment group cache prefix (invalidates cache). * * @param string $group Group of cache to clear. */ public static function incr_cache_prefix( $group ) { wp_cache_incr( 'evf_' . $group . '_cache_prefix', 1, $group ); } /** * Set constants to prevent caching by some plugins. * * @param mixed $return Value to return. Previously hooked into a filter. * @return mixed */ public static function set_nocache_constants( $return = true ) { evf_maybe_define_constant( 'DONOTCACHEPAGE', true ); evf_maybe_define_constant( 'DONOTCACHEOBJECT', true ); evf_maybe_define_constant( 'DONOTCACHEDB', true ); return $return; } /** * Notices function. */ public static function notices() { if ( ! function_exists( 'w3tc_pgcache_flush' ) || ! function_exists( 'w3_instance' ) ) { return; } $config = w3_instance( 'W3_Config' ); $enabled = $config->get_integer( 'dbcache.enabled' ); $settings = array_map( 'trim', $config->get_array( 'dbcache.reject.sql' ) ); if ( $enabled && ! in_array( '_evf_session_', $settings, true ) ) { ?> <div class="error"> <p> <?php /* translators: 1: key 2: URL */ echo wp_kses_post( sprintf( __( 'In order for <strong>database caching</strong> to work with Everest Forms you must add %1$s to the "Ignored Query Strings" option in <a href="%2$s">W3 Total Cache settings</a>.', 'everest-forms' ), '<code>_evf_session_</code>', esc_url( admin_url( 'admin.php?page=w3tc_dbcache' ) ) ) ); ?> </p> </div> <?php } } } delete_transient( 'evf_unread_entry_count' ); EVF_Cache_Helper::init();
Save
cmd:
run