Created
December 9, 2015 21:47
-
-
Save thomasgriffin/b9865ed3245a2863b1ca to your computer and use it in GitHub Desktop.
OptinMonster Dynamic Text Replacement API - deleteCustomVariable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
var OptinMonsterCustomVariables = function(app) { | |
/** | |
* API method for deleting a custom variable. Must be accessed via the app object. | |
* | |
* @param string $key The custom variable to delete. | |
* @return null | |
*/ | |
app.deleteCustomVariable('foo'); | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment