acf/bidirectional/supported_field_types_for_post
acf/bidirectional/supported_field_types_for_post
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_field_types_for_post') is found 1 times:
- /includes/acf-bidirectional-functions.php line 108104105106107108109110111112113114
case
'post'
:
$valid_target_types
=
array
(
'relationship'
,
'post_object'
);
break
;
}
return
apply_filters(
'acf/bidirectional/supported_field_types_for_post'
,
$valid_target_types
,
$object_type
);
}
/**
* Build the complete choices argument
for
rendering the select2 field
for
bidirectional target based on the currently selected choices
*
* @since 6.2