Snippets: Alter WooCommerce Single Product Page Header Title

// Displays product title for the page header title instead of "Products"
function myprefix_woo_single_title( $title ) {
	if ( function_exists( 'is_product' ) && is_product() ) {
		$title = single_post_title( '', false );
	}
	return $title;
}
add_filter( 'wpex_title', 'myprefix_woo_single_title', 99 );
All PHP snippets should be added via a child theme's functions.php file.