Menu

In order to Retrieves the information pertaining to the currently logged in user in wordpress, and places it in the global variable $current_user. Properties map directly to the wp_users table in the database (see Database Description). Also places the individual attributes into the following separate global variables: $user_login $user_ID(Equal $current_user->ID, not $current_user->user_ID) $user_email $user_url (User’s ...

Read More

Site in WordPress that offer personalized or private content typically want to keep their users on the front end of the site.By Default users a taken to the back end dashboard automatically in WordPress after they login. we need to be able to redirect these users to the front end of the site; but as for an admin will still go on the back end of the site. WordPress gives us the ability to edit where we want to send the login user when they login by using ...

Read More