What is the `wp_targeted_link_rel` filter and what security improvement does it provide?

WordPress Expert Medium

WordPress Expert — Medium

What is the `wp_targeted_link_rel` filter and what security improvement does it provide?

Key points

  • `wp_targeted_link_rel` filter adds rel='noopener noreferrer'
  • Prevents tab-napping attacks
  • Enhances security by restricting access between pages

Ready to go further?

Related questions