如何在单个CPT页面上更改当前的痕迹标题? Yoast和Wordpress

I'm creating an website for a real estate company with WordPress. At this moment a custom plugin (from Tussendoor.nl) that gets objects from an API creates new (custom post type) posts with details from a custom database table.

In WordPress i'm also using Yoast SEO for breadcrumbs and GSD.

The posts that are generated by the plugin have a post_title which goes like: "City Street Number".

I'm also storing data that the plugin creates into ACF fields on the custom post type posts. Data like: city, address, address and number, pricing etc.

In the breadcrumbs i already achieved that the city is a breadcrumb himself by putting this function into my functions.php:

        add_filter( 'wpseo_breadcrumb_links', 
        'yoast_seo_breadcrumb_append_link' );
        function yoast_seo_breadcrumb_append_link( $links ) {
            global $post;
            $adres = get_field('adres'); // Adress
            $plaats = get_field('plaats'); // CITY
            $plaats = ucfirst($plaats); // CITY
            $plaats = ucfirst(strtolower($plaats)); // City
            if ( is_singular( 'realworks_wonen' ) ) {
                $breadcrumb[] = array(
                    'url' => site_url( "/woningaanbod/".$plaats."/" ),
                    'text' => $plaats,
                );
                array_splice( $links, 2, -2, $breadcrumb );
            }
            return $links;
        }

The problem is that the page where the object is on the breadcrumb looks like this:

Home > Archive > City > City Street Number (post_title)

I want to change the "City Street Number" to "Street Number". I know it's obtainable from an ACF field, but i don't know with which function.

I tried to do my own homework and i dived into Yoast Developer Docs and found this: https://developer.yoast.com/code-documentation/hooks/wp_seo_get_bc_title/

apply_filters( 'wp_seo_get_bc_title' )

But this function didn't yet brought me to a solution yet.

I tried this:

        function delete_cityname( $title ) {
        // $title is an array of title parts, including one called `title`
        global $post;
        $adres = get_field('adres');
        if (is_singular('realworks_wonen')) {
            $title['title'] = $title['title'];
        }
        return $title;
        }

Actual result: Home > Archive > City > City Street Number (post_title) Expected result: Home > Archive > City > Street Number (ACF Field or deleting from first word (but prever acf field because a city can be 2 words))