wc_prevent_adjacent_posts_rel_link_wp_head()
Remove adjacent_posts_rel_link_wp_head - pointless for products.
No Hooks.
Return
null
. Nothing (null).
Usage
wc_prevent_adjacent_posts_rel_link_wp_head();
Changelog
Since 3.0.0 | Introduced. |
wc_prevent_adjacent_posts_rel_link_wp_head() wc prevent adjacent posts rel link wp head code WC 8.7.0
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 ); } }