breadcrumb_link_url

FIlter hook for filter breadcrumb links url, you can override urls via this filter hook

add_filter('breadcrumb_link_url', 'breadcrumb_link_url_20200203');

function breadcrumb_link_url_20200203($link){

    if(is_singular('post')):
        $link .= '#some_id';
    endif;

    return $link;

}

 

View post on imgur.com