Created
March 27, 2020 12:55
-
-
Save jchristopher/8ec3197c926d33cea6c4e3c9a2e99ceb to your computer and use it in GitHub Desktop.
Load all 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 all Source Attribute data for SearchWP search results. | |
add_filter( | |
'searchwp\query\result\load_data\all_attributes', | |
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