Available since: 1.0.10
searchwp_enable_attribution_{post_type}
One of SearchWP’s most powerful features is it’s ability to attribute search result weight from one post to another. If you would like to disable attribution for a post type on the SearchWP settings screen you can do so with this filter.
Example: To tell SearchWP to prevent attribution for bbPress’ Forum post type, add the following to your active theme’s functions.php
:
<?php | |
add_filter( 'searchwp_enable_attribution_forum', '__return_false' ); |