WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to remove the adjacent_posts_rel_link links under WP3.2, i.e. remove these from wp_head:

<link rel='prev' title='blah blah' href='http://...' />
<link rel='next' title='blah blah' href='http://...' />

and this function used to work under 3.1:

function remove_header_info() {
remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0);

add_action('init', 'remove_header_info');

But doesn't under 3.2. Anyone know or know how to find the new action to remove the links?

Edit 7/15/11: the change is adjacent_posts_rel_link_wp_head

share|improve this question
up vote 0 down vote accepted

Answer: the change in 3.2 is from adjacent_posts_rel_link to adjacent_posts_rel_link_wp_head

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.