php snippet to remove BreadcrumbList from showing in json schema in homepage using yoast
function wpseo_remove_breadcrumb_json_ld($data) { if (is_front_page()) { $data = array(); } return $data; } add_filter('wpseo_breadcrumb_json_ld_output', 'wpseo_remove_breadcrumb_json_ld');