default_title
apply_filters( ‘default_title’, string $post_title , WP_Post $post )
过滤器::过滤最初在“Write post”表单中使用的默认文章标题。
Filter Hook: Filters the default post title initially used in the “Write Post” form.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$post_title | (string) | 默认文章标题。 |
$post | (WP_Post) | Post对象。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
1.5.0 | wp-admin/includes/post.php:726 | 1 | 0 |
default_title 为WP2原创文章,链接:https://www.wp2.cn/hook/default_title/