acf/bidirectional/supported_target_field_types
acf/bidirectional/supported_target_field_types
Appears in: advanced-custom-fields.6.2.0
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.2.0apply_filters('acf/bidirectional/supported_target_field_types') is found 1 times:
- /includes/acf-bidirectional-functions.php line 152
* * @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']; }