Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OptinMonster Dynamic Text Replacement API - hasCustomVariables
<script type="text/javascript">
var OptinMonsterCustomVariables = function(app) {
/**
* API method for checking if any custom variable has been registered.
* Must be accessed via the app object.
*
* @return bool True if any custom variable has been registered, false otherwise.
*/
app.hasCustomVariables();
};
</script>
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.