acf/bidirectional/supported_field_types_for_post

acf/bidirectional/supported_field_types_for_post

Hook Type: filter

See hook in core

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

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

  • /includes/acf-bidirectional-functions.php line 108
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
            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