Skip to contentSkip to main navigation Skip to footer

How To Customize hmwp_logged_in_admin & hmwp_logged_in_login

customize hmwp_logged_in cookie

To customize the cookie name with Hide My WP Ghost, it’s quite simple.

Just follow these steps:

  1. Open the wp-config.php file in your WordPress installation.
  1. Locate the line that mentions WP_DEBUG.
  2. Directly after this line, add the following code:
   define('HMWP_LOGGED_IN_COOKIE', 'my_logged_in_');

Here, ‘my_logged_in_’ is the prefix you desire for that cookie. You can replace it with any prefix you prefer.

  1. Save the wp-config.php file after making this change.
  2. Once saved, refresh the settings in Hide My WP Ghost and empty the session cookies to ensure that the changes take effect.

By following these steps, you can easily customize the cookie name according to your preference.