Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Load all Source Attribute data for SearchWP search results
<?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