Articles on: Developers

Cache page or not

The flying_press_is_cacheable filter is used to specify custom conditions for determining whether FlyingPress should cache a page or not.

add_filter('flying_press_is_cacheable', function($is_cacheable){ 
  // write custom condition where FlyingPress should not cache the page and return true/false 
  return $is_cacheable;
});

Updated on: 23/11/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!