Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Tell SearchWP to remove Advanced Custom Fields (ACF) field references when indexing
// NOTE: See
add_filter( 'searchwp_acf_remove_field_references', function( $remove, $context ) {
// TODO: Determine whether ACF field references should be removed.
return $remove; // true/false
}, 20, 2 );
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.