Skip to content

Instantly share code, notes, and snippets.

@derweili
Created June 8, 2021 14:01
Show Gist options
  • Save derweili/8a8457ebd9be0c1164c1c848cccf02ac to your computer and use it in GitHub Desktop.
Save derweili/8a8457ebd9be0c1164c1c848cccf02ac to your computer and use it in GitHub Desktop.
Add Cachify compatibility to CDN Enabler
remove_action( 'setup_theme', array( 'CDN_Enabler_Engine', 'start' ) );
add_action( 'template_redirect', array( 'CDN_Enabler_Engine', 'start' ), 20 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment