-
-
Save searchwpgists/738737f900c79077b745d319bafa52b3 to your computer and use it in GitHub Desktop.
Disable global excerpt retrieval for Pages in SearchWP
This file contains 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 | |
// Disable global excerpt retrieval for Pages in SearchWP. | |
add_filter( 'searchwp\source\post\global_excerpt\page', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment