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
alter table `wp_usermeta` add index `ndx_meta_key_meta_val1` (`meta_key`(40), `meta_value`(191)); | |
alter table `wp_postmeta` add index `ndx_meta_key_meta_val1` (`meta_key`(40), `meta_value`(191)); | |
alter table `wp_termmeta` add index `ndx_meta_key_meta_val1` (`meta_key`(40), `meta_value`(191)); | |
alter table `wp_commentmeta` add index `ndx_meta_key_meta_val1` (`meta_key`(40), `meta_value`(191)); | |
alter table `wp_edd_customermeta` add index `ndx_meta_key_meta_val1` (`meta_key`(40), `meta_value`(191)); | |
alter table `wp_edd_licensemeta` add index `ndx_meta_key_meta_val1` (`meta_key`(40), `meta_value`(191)); | |
alter table `wp_posts` add index `ndx_id_post_status_val1` (`id`, `post_status`); | |
SELECT 'autoloaded data in KiB' as name, ROUND(SUM(LENGTH(option_value))/ 1024) as value FROM wp_options WHERE autoload='yes' | |
UNION |
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> | |
window.fbAsyncInit = function() { | |
FB.init({ | |
appId : '532160876956612', | |
autoLogAppEvents : true, | |
xfbml : true, | |
version : 'v3.2' | |
}); | |
}; |
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'); | |
}; |
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 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(); | |
}; |
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 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. | |
*/ | |
app.hasCustomVariable('foo'); |
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 retrieving all custom variables. Must be accessed via the app object. | |
* | |
* @return object A JavaScript object with key/value pairs for custom variables. | |
*/ | |
app.getCustomVariables(); | |
}; | |
</script> |
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 retrieving a custom variable. Must be accessed via the app object. | |
* | |
* @param string $key The custom variable key to retrieve. | |
* @return string|bool The value of the custom variable key or false if not found. | |
*/ | |
app.getCustomVariable('foo'); | |
}; |
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 setting a custom variable. Must be accessed via the app object. | |
* | |
* @param string $key The custom variable key to set. | |
* @param string $value The custom variable value to set for the key. | |
* @return null | |
*/ | |
app.setCustomVariable('foo', 'bar'); |
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) { | |
app.setCustomVariable('name', 'Thomas'); | |
}; | |
</script> |
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"> | |
function OptinMonsterCustomVariables(app) { | |
app.setCustomVariable('name', 'Thomas'); | |
} | |
</script> |
NewerOlder