Advertisement
pratikshrestha

Catch Responsive Polylang Invalidate Cache

Jun 23rd, 2016
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. if ( ! function_exists( 'catchresponsive_polylang_invalidcache' ) ) :
  2. /**
  3.  * Template for Clearing Polylang Invalid Cache
  4.  *
  5.  */
  6. function catchresponsive_polylang_invalidcache() {
  7.     delete_transient( 'catchresponsive_featured_slider' ); 
  8. } // catchresponsive_polylang_invalidcache
  9. endif;
  10. add_action( 'after_setup_theme', 'catchresponsive_polylang_invalidcache' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement