acf/bidirectional/supported_target_field_types
acf/bidirectional/supported_target_field_types
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/bidirectional/supported_target_field_types') is found 1 times:
- /includes/acf-bidirectional-functions.php line 153149150151152153154155156157158159
*
* @
return
array
*/
function
acf_build_bidirectional_relationship_field_target_args(
$results
,
$options
) {
$valid_field_types
= apply_filters(
'acf/bidirectional/supported_target_field_types'
,
array
(
'relationship'
,
'post_object'
,
'user'
,
'taxonomy'
) );
$field_groups
=
array_filter
(
acf_get_field_groups(),
function
(
$field_group
) {
return
$field_group
[
'active'
];
}