acf/bidirectional/supported_target_field_types

acf/bidirectional/supported_target_field_types

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.5

apply_filters('acf/bidirectional/supported_target_field_types') is found 1 times:

  • /includes/acf-bidirectional-functions.php line 153
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    *
     * @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'];
            }