Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4540884
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:08:53+00:00 2026-05-21T15:08:53+00:00

wordpress names cookies like wordpress_logged_in_bbfa5b726c6b7a9cf3cda9370be3ee91 the part after _in is different for every user.

  • 0

wordpress names cookies like

wordpress_logged_in_bbfa5b726c6b7a9cf3cda9370be3ee91

the part after _in is different for every user. Is there a way I can use it with wild card in

$_COOKIE["wordpress_logged_in_bbfa5b726c6b7a9cf3cda9370be3ee91"]

so something like

$_COOKIE["wordpress_logged_in_%"]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T15:08:54+00:00Added an answer on May 21, 2026 at 3:08 pm

    You will have to loop through the entire $_COOKIE array to see if it matches the pattern:

    $matches = array();
    foreach($_COOKIE as $key => $value) {
      if(substr($key, 0, 20) == 'wordpress_logged_in_') {
        $matches[] = $key;
      }
    }
    //$matches now contains the key of all matching cookies
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Wordpress sets several cookies with a random hash appended. How can I use Javascript
I'm being asked if I can fetch the result from 18 different Wordpress databases
How can I store the categories names and IDs into an array in Wordpress?
I am working on a wordpress plugin which allows user to enter name of
In pom.xml I have (taken from http://struberg.wordpress.com/2012/05/10/using-jpa-in-real-projects-part-1/ ): <properties> <openjpa.sql.action>refresh</openjpa.sql.action> <database.driver.name>org.postgresql.Driver</database.driver.name> <database.connection.url>jdbc:postgresql://myURL</database.connection.url> <database.user>user</database.user> <database.password>password</database.password>
Wordpress has a filter that automatically add paragraphs to posts. I can remove this
I use the new wordpress plugin, google xml sitemap. Hello, lets say I have
I was wondering if it is possible to modify the way WordPress handles image
Am a bit stuck with a wordpress loop, am wondering if anyone can help.
I have a query that is meant to return user details from Wordpress tables.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.