Snippets: Custom Breadcrumbs Arguments

Below is a snippet showing how you can alter some of the default breadcrumbs arguments. Note that this is for the theme's built-in breadcrumbs function and not the Yoast SEO breadcrumbs.

function myprefix_wpex_breadcrumbs_args( $args ) {
	$args['home_text'] = 'YOUR CUSTOM TEXT';
	$args['home_link'] = 'YOUR CUSTOM LINK';
	$args['separator'] = 'YOUR CUSTOM SEPERATOR';
	return $args;
add_filter( 'wpex_breadcrumbs_args', 'myprefix_wpex_breadcrumbs_args' );
All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)