1. 首页
  2. WordPress钩子手册

enclosure_links

apply_filters( ‘enclosure_links’, string[] $post_links, int $post_ID )

过滤器::在查询数据库之前过滤外壳链接的列表。
Filter Hook: Filters the list of enclosure links before querying the database.

目录锚点:#说明#参数#源码


说明(Description)

允许添加和/或删除潜在的存储模块,以便在检查数据库中现有的存储模块之前保存到postmeta。


参数(Parameters)

参数 类型 说明
$post_links (string[]) 一组外壳连接。
$post_ID (int) 邮政编码。

源码(Source)


更新版本 源码位置 使用 被使用
4.4.0 wp-includes/functions.php:891 1 0

enclosure_links 为WP2原创文章,链接:https://www.wp2.cn/hook/enclosure_links/