WordPress at a glance
function is not described

wc_prevent_adjacent_posts_rel_link_wp_head() WC 3.0.0

Remove adjacent_posts_rel_link_wp_head - pointless for products.

No Hooks.

Return

null. Nothing.

Usage

wc_prevent_adjacent_posts_rel_link_wp_head();

Changelog

Since 3.0.0 Introduced.

Code of wc_prevent_adjacent_posts_rel_link_wp_head() WC 5.2.2

<?php
function wc_prevent_adjacent_posts_rel_link_wp_head() {
	if ( is_singular( 'product' ) ) {
		remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 );
	}
}