Want to use wp_get_current_user() in query filter
-
I am using the WP “query” filter and in my function I want to use
wp_get_current_user()
. But I get a fatal error when I call it. Because the function isn’t loaded by WP yet. Is there a fix. ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Want to use wp_get_current_user() in query filter’ is closed to new replies.