wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
set_current_user is deprecated since version 3.0.0!
Alternative: wp_set_current_user()
Alternative: wp_set_current_user()
set_current_user › WordPress Function
Od2.0.1
Przestarzały3.0.0
› set_current_user ( $id, $name = '' )
Parametry: (2) |
|
Zobacz: | |
Powrót: |
|
Zdefiniowane na: |
|
Codex: |
Changes the current user by ID or name.
Set $id to null and specify a name if you do not know a user's ID.Powiązane Funkcje: wp_set_current_user, wp_get_current_user, get_current_user_id, _wp_get_current_user, set_current_screen