PluginProbe
Customify / 2.10.6
Customify v2.10.6
2.10.9 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.7.1 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.0.1 1.6.5 1.7.0 1.7.1 All 77 releases
customify / includes / integrations / pixelgrade-care.php

pixelgrade-care.php in Customify 2.10.6, at includes/integrations/pixelgrade-care.php

17 lines 518 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * This is logic for integrating with the Pixelgrade Care plugin.
4 *
5 * @see https://pixelgrade.com
6 * @author Pixelgrade
7 * @since 2.6.0
8 */
9
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit; // Exit if accessed directly
12 }
13
14 // We want to invalidate caches whenever the Pixelgrade Care license is updated since it may unlock new features,
15 // and so unlock new Customify options.
16 add_filter( 'pre_set_theme_mod_pixcare_license', array( PixCustomifyPlugin(), 'filter_invalidate_all_caches' ), 10, 1 );
17