Available since: 3.0
searchwp_meta_groups_acf_repeatables
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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// 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 ); |
Parameters
Parameter | Type | Description |
---|---|---|
$meta_groups |
Array |
Meta groups as defined by |
$args |
Array |
Arguments as defined by |