admin管理员组文章数量:1316974
In the wp backend wp-admin > users.php there is a search field which we can use to search for particular users.
Let's say we search for a string 'test' and it retrieves 3 users.
How can we grab the User ids of those results and display in a custom plugin? Is there a wp filter/action available that runs after the search is complete? I am familiar with pre_user_query
and pre_user_search
hooks but those run before the query is executed. But I think I am looking for a post query hook and I don't think there is any so in that case how can we do this?
Any help / guidance would be highly appreciated.
Thanks.
本文标签: plugin developmentHow to grab data after wp user search is complete
版权声明:本文标题:plugin development - How to grab data after wp user search is complete 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742019565a2414413.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论