函数文档

wp_remove_targeted_link_rel_filters()

💡 云策文档标注

概述

wp_remove_targeted_link_rel_filters() 是一个已弃用的 WordPress 函数,用于移除修改目标链接 rel 属性的所有过滤器。该函数在 WordPress 6.7.0 版本中被标记为弃用。

关键要点

  • 函数作用:移除修改目标链接 rel 属性的所有过滤器。
  • 弃用状态:自 WordPress 6.7.0 版本起被弃用,使用 _deprecated_function() 标记。
  • 引入版本:最初在 WordPress 5.1.0 版本中引入。
  • 相关函数:_deprecated_function() 用于标记函数为弃用并通知使用情况。

📄 原文内容

Removes all filters modifying the rel attribute of targeted links.

Source

function wp_remove_targeted_link_rel_filters() {
	_deprecated_function( __FUNCTION__, '6.7.0' );
}

Changelog

Version Description
6.7.0 Deprecated.
5.1.0 Introduced.