Snippets: Alter Any Theme Template Part via Callable Function

// Example to override the Top Bar Content
// See Total/framework/template-parts.php for the array of template parts
add_filter( 'wpex_template_parts', function( $parts ) {
	$parts['topbar_content'] = function() {
		echo 'Replace the topbar content with this.';
	};
	return $parts;
} );
All PHP snippets should be added via a child theme's functions.php file.