Full List of WordPress Cookies

webroomtech.com
2 min readApr 28, 2020

--

What are cookies?

Cookies are small pieces of data, stored in text files, that are stored on your computer or other device when websites are loaded in a browser. This allows the server to deliver a page tailored to a particular user, or the page itself can contain some script which is aware of the data in the cookie and so is able to carry information from one visit to the website (or related site) to the next.

Cookies may be set by the site that you are visiting, known as ‘first-party cookies; or by third parties, such as those who serve content or provide advertising or analytics services on the website, known as ‘third-party cookies’.

See full list of WooCommerce cookies.

Full List of WordPress Cookies

WordPress cookies can be divided into two categories:

  • WordPress Users Cookie — “strictly necessary” cookies as WordPress will not be able to function without it. They are also session cookies as they expire once the user logs out or exits the page.
  • WordPress Commenters Cookie — not “strictly necessary” cookies and are set when users leave a comment on a post. These can also be classified as persistent cookies.

Note: those includes only cookies set by WordPress only — this doesn’t include cookies set by plugins.

List of WordPress Users Cookie

According to WordPress codex “Users are those people who have registered an account with the WordPress site.”

  • wordpress_{hash}
  • wordpress_logged_in_{hash}
  • wordpress_test_cookie
  • wp-settings-{UID}
  • wp-settings-time-{UID}
  • wp-saving-post
  • wp-postpass_{hash}
  • wordpress_sec

See detailed info about WordPress user cookies here.

List of WordPress Commenters Cookies

When visitors comment on your blog, they too get cookies stored on their computer. This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. Three cookies are set for commenters:

  • comment_author_{HASH}
  • comment_author_email_{HASH}
  • comment_author_url_{HASH}

The commenter cookies are set to expire a little under one year from the time they’re set.

See detailed info about WordPress commenters cookies here.

Original publication: Full List of WordPress Cookies

--

--

webroomtech.com
0 Followers

webroom.tech is created and written with one purpose: to help anyone developing their awesome WordPress and WooCommerce website.