Note: You are viewing the documentation for Version 3View Version 4 Docs


View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

Available since: 3.0


View Parameters »

As part of SearchWP’s support for Advanced Custom Fields, ACF Repeatables are grouped using searchwp_meta_groups but this meta group can be customized with this hook:

// Customize the ACF Repeatables Custom Fields meta group in SearchWP.
add_filter( 'searchwp_meta_groups_acf_repeatables', function( $meta_groups, $args ) {
// $meta_groups contains the ACF repeatables as defined by SearchWP.
return $meta_groups;
}, 20, 2 );
view raw functions.php hosted with ❤ by GitHub


Parameter Type Description
$meta_groups Array

Meta groups as defined by searchwp_meta_groups

$args Array

Arguments as defined by searchwp_meta_groups

Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP