Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Prevent SearchWP from removing ACF repeatables sub-fields from the Custom Fields dropdown
<?php
add_filter( 'searchwp_acf_remove_repeatable_children', function( $remove, $context ) {
// TODO: Determine whether ACF sub-fields should be removed from the Custom Fields dropdown.
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.