在 WordPress 中获取订阅者的详细信息

发布于 2024-10-10 10:50:25 字数 99 浏览 0 评论 0原文

是否可以使用 wordpress 仅下载或检索订阅者详细信息。我可以在管理页面中查看用户列表以及订阅者。但我只想获取订阅者的详细信息(电子邮件地址)。是否有代码。

谢谢

Is it possible to download or retrieve only the subscriber details using wordpress.i can see the list of users along with the subscriber in an admin page.but i want to get only the details(email address)of the subscriber.Is there is any code for that.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

请止步禁区 2024-10-17 10:50:25

从阅读您的问题来看,听起来您只是想收集电子邮件地址。这实际上让我有点不愿意回答,但我可以理解为什么您可能需要这样做(例如,在网站迁移的情况下)。

WordPress 确实定义了一个专门用于检索用户列表的函数,该函数还返回他们的电子邮件地址: wp_list_authors( );

From reading your question, it sounds like you just want to scrape up email addresses. That actually has me a bit reluctant to answer, but I can see why you might need to do this (in the case of a site migration, for example).

WordPress does defines a function specifically for retrieving a list of your users that also returns their email addresses: wp_list_authors();.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文