Skip to content

Instantly share code, notes, and snippets.

@thomasgriffin
Created December 9, 2015 21:44
Show Gist options
  • Save thomasgriffin/0b65c88a6b23a2e77906 to your computer and use it in GitHub Desktop.
Save thomasgriffin/0b65c88a6b23a2e77906 to your computer and use it in GitHub Desktop.
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