| 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 |
|