Created
March 26, 2020 15:46
-
-
Save jchristopher/9adfdd4ae6e0dc1911be2192704b6356 to your computer and use it in GitHub Desktop.
Disable parent weight attribution for Pages 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 | |
// Disable parent weight attribution for Pages in SearchWP. | |
add_filter( 'searchwp\source\post\page\parent_attribution', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment