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