Discussion:
No action hook in WP_User_Query
Tom Klabbers
2014-03-01 20:57:57 UTC
Permalink
Hello all,

I was trying to make a custom user column sortable. Unfortunately there isn’t a action hook or filter to modify the WP_User_Query arguments before preparing the query. Wouldn’t it be easier to add an action hook before preparing the query?

Tom
Dylan Kuhn
2014-03-02 23:02:00 UTC
Permalink
Post by Tom Klabbers
I was trying to make a custom user column sortable. Unfortunately there
isn't a action hook or filter to modify the WP_User_Query arguments before
preparing the query. Wouldn't it be easier to add an action hook before
preparing the query?
Sounds like this trac ticket: https://core.trac.wordpress.org/ticket/25285

-dylan-

Continue reading on narkive:
Loading...