This Documentation is for SearchWP Version 3

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