Uma área de pesquisa sobre o WordPress para devs e autores do tema



rest_user_query ›

Desde4.7.0
Obsoleton/a
apply_filters( 'rest_user_query', $prepared_args, $request )
Parâmetros: (2)
  • (array) $prepared_args Array of arguments for WP_User_Query.
    Required: Yes
  • (WP_REST_Request) $request The current request.
    Required: Yes
Links:
    Definido em:
    Codex:

    Filters WP_User_Query arguments when querying users via the REST API.





    Fonte

    $prepared_args = apply_filters( 'rest_user_query', $prepared_args, $request );