wordpress自动加p标签的函数wpautop 发表评论 / 教程 / 作者: mine_zwtt8 想在有换行的字符串中加入p标签,可以使用函数wpautop,具体可参考https://developer.wordpress.org/reference/functions/wpautop/