Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Last active December 20, 2015 14:39
Embed
What would you like to do?
Prevent SearchWP from attempting to extract content from supported document types
<?php
// do not attempt to extract plain text from supported document types
add_filter( 'searchwp_omit_document_processing', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment