1. 首页
  2. WordPress钩子手册

edit_{$field}

apply_filters( “edit_{$field}”, mixed $value, int $post_id )

过滤器::过滤要编辑的特定post字段的值。
Filter Hook: Filters the value of a specific post field to edit.

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


说明(Description)

钩子名$field的动态部分引用post字段名。


参数(Parameters)

参数 类型 说明
$value (mixed) post字段的值。
$post_id (int) 邮政编码。

源码(Source)


更新版本 源码位置 使用 被使用
2.3.0 wp-includes/post.php:2402 3 0

edit_{$field} 为WP2原创文章,链接:https://www.wp2.cn/hook/edit_field/