WordPress开发者和主题制作者的搜索引擎



wp_insert_post_data ›

Since2.7.0
已弃用n/a
apply_filters( 'wp_insert_post_data', $data, $postarr )
参数: (2)
  • (array) $data An array of slashed post data.
    Required: Yes
  • (array) $postarr An array of sanitized, but otherwise unmodified post data.
    Required: Yes
定义在:
文档:

Filters slashed post data just before it is inserted into the database.





源码

$data = apply_filters( 'wp_insert_post_data', $data, $postarr );