• 孙锡源
    管理员

    加到主题的 functions.php 里面:

    add_filter('the_content', function( $content ) {
        return strip_tags( $content, '<p><br><img>' );
    }, 9999 );

  • 正在查看 1 条回复
    • 哎呀,回复话题必需登录。

    加入 LitePress 论坛 ,参与知识分享与交流
    登录 注册 进行评论
    立即加入