graphql_users_orderby

Filters the ORDER BY clause of the query

apply_filters_ref_array( 'graphql_users_orderby', [ string $query->query_orderby, WP_User_Query &$query ] );

Params

  • $ref_array (array): The array of parameters
    • $orderby (string): The ORDER BY clause of the query
    • $query (WP_User_Query): The WP_User_Query instance (passed by reference)