This handy script is tied to the Webflow Memebrships system, it changes text context based on a User's logged in status.
When a user is logged out, text reads as:
When a user is logged in, text reads as:
Good to know
This script will find all elements with the "suite-loggedin-text" data attribute and replace their text with the value of that data attribute, but only if the 'wf_loggedin' cookie is set to 'true'.