Skip to content

Instantly share code, notes, and snippets.

Created April 22, 2019 16:54
What would you like to do?
Customize whether individual ACF field references are removed in SearchWP
add_filter( 'searchwp_acf_remove_field_reference', function( $remove, $context ) {
// TODO: Determine whether this field 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