Created
March 27, 2020 12:49
-
-
Save jchristopher/6efe20aa3e08c8e65198aa2a17dc9dc6 to your computer and use it in GitHub Desktop.
Load Source Attribute data for SearchWP search results
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 | |
// Load Source Attribute data for SearchWP search results. | |
add_filter( | |
'searchwp\query\result\load_data', | |
function( $enabled, $args ) { | |
return true; | |
}, | |
30, 2 | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment