Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
OptinMonster Dynamic Text Replacement API - hasCustomVariable
<script type="text/javascript">
var OptinMonsterCustomVariables = function(app) {
* API method for checking if a custom variable has been registered.
* Must be accessed via the app object.
* @param string $key The custom variable key to check.
* @return bool True if the custom variable exists, false otherwise.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.