WordPress开发者和主题制作者的搜索引擎



pre_get_users ›

Since4.0.0
已弃用n/a
do_action( 'pre_get_users', $this )
参数:
  • (WP_User_Query) $this The current WP_User_Query instance, passed by reference.
    Required: Yes
定义在:
文档:

Fires before the WP_User_Query has been parsed.

The passed WP_User_Query object contains the query variables, not yet passed into SQL.





源码

do_action( 'pre_get_users', $this );