Created
December 8, 2018 07:22
-
-
Save adamlaki/45e85491a0e047831b58d54cf97ef5b2 to your computer and use it in GitHub Desktop.
Check If a Jetpack Module is Active
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( class_exists( 'Jetpack' ) && !Jetpack::is_module_active( 'infinite-scroll' ) ) { | |
the_posts_pagination(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment