Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Disable parent weight attribution for Pages in SearchWP
<?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