wp_setcookie Wordpress function


Description:

Sets a cookie for a user who just logged in. This function is deprecated.


Syntax:


Arguments:

(string) $username The user's username
(string) $password Optional. The user's password
(bool) $already_md5 Optional. Whether the password has already been through MD5
(string) $home Optional. Will be used instead of COOKIEPATH if set
(string) $siteurl Optional. Will be used instead of SITECOOKIEPATH if set
(bool) $remember Optional. Remember that the user is logged in


Return Type:


Define At:

wp-includes/pluggable-deprecated.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_setcookie


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×