Skip to content

Instantly share code, notes, and snippets.

@searchwpgists
Created March 25, 2022 17:34
Show Gist options
  • Save searchwpgists/5da4c2e339e127d63993be74f0c01840 to your computer and use it in GitHub Desktop.
Save searchwpgists/5da4c2e339e127d63993be74f0c01840 to your computer and use it in GitHub Desktop.
Force enable SearchWP's alternate indexer
<?php
// Force enable SearchWP's alternate indexer.
add_filter( 'searchwp\indexer\alternate', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment