Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Customize which meta keys are used for highlighting when finding better excerpts
<?php
function my_searchwp_th_meta_keys( $meta_keys ) {
// TODO: update $meta_keys if necessary.
return $meta_keys;
}
add_filter( 'searchwp_th_meta_keys', 'my_searchwp_th_meta_keys' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.