wpseek.com
A WordPress-centric search engine for devs and theme authors
determine_current_user › WordPress Filter Hooks
Since3.9.0
Deprecatedn/a
› apply_filters( 'determine_current_user', false )
| Parameters: |
|
| Defined at: |
|
| Codex: |
Filters the current user.
The default filters use this to determine the current user from the request's cookies, if available. Returning a value of false will effectively short-circuit setting the current user.Related Functions: set_current_user, get_current_user_id, wp_get_current_user, wp_set_current_user, _wp_get_current_user, get_current_site
Related Hooks: set_current_user, pre_count_users, rest_after_insert_user, determine_locale, pre_comment_user_ip