Wordpress 钩子:default_content
文章目录
过滤最初在“撰写帖子”表单中使用的默认帖子内容。
原型
apply_filters( 'default_content', string $post_content, WP_Post $post )
参数
$post_content
(string)
默认发布内容。
$post
(WP_Post)
发布对象。
源文件
路径:wp-admin/includes/post.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/default_content/
文章作者 iBllex
上次更新 2019-02-16