Advertisement
swte

Is cachable dynamic filter example

Sep 16th, 2021
893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. add_filter('swift_performance_is_cacheable_dynamic', function($result){
  2.     if (isset($_GET['param1']) && !isset($_GET['param2'])){
  3.         return true;
  4.     }
  5.  
  6.     return $result;
  7. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement