Advertisement
swte

Add CPT to Short Lifespan Pages by post id

Oct 2nd, 2023
760
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.14 KB | None | 0 0
  1. add_filter('swift_performance_option_short-lifespan-pages', function($page_ids){
  2.     $page_ids[] = 123;
  3.     $page_ids[] = 456;
  4.     return $page_ids;
  5. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement