Can you let me know if there is a way to stop a popup from loading if someone is signed into the website, either as an admin, editor, customer etc, any user role.
We know WordPress sets a cookie wordpress_logged_in_[hash]
Which we may be able to use but we also know the hash part changes.
Hi guys,
Can you let me know if there is a way to stop a popup from loading if someone is signed into the website, either as an admin, editor, customer etc, any user role.
We know WordPress sets a cookie
wordpress_logged_in_[hash]
Which we may be able to use but we also know the hash part changes.
Many thanks
Will
Its ok we figured it ourselves by creating a new cookie with the users ID then telling the popup to not show if our cookie was set.
Thanks
Will