Created
March 26, 2020 16:00
-
-
Save jchristopher/15314882c226f736fe7ff8a7c3368818 to your computer and use it in GitHub Desktop.
Enable global excerpt retrieval 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 | |
// Enable global excerpt retrieval in SearchWP. | |
add_filter( 'searchwp\source\post\global_excerpt', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment