This file contains 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
/** | |
* | |
* Import Class | |
* A helper class for support CS to OCDI | |
* | |
*/ | |
if ( !class_exists( 'OCDI_Plugin' ) ) | |
return; |
This file contains 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
<?php | |
// parameters | |
$hubVerifyToken = 'TOKEN123456abcd'; | |
$accessToken = "xxx"; | |
// check token at setup | |
if ($_REQUEST['hub_verify_token'] === $hubVerifyToken) { | |
echo $_REQUEST['hub_challenge']; | |
exit; | |
} |
This file contains 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
<?php | |
/** | |
* Kirki Advanced Customizer | |
* | |
* This is a sample configuration file to demonstrate all fields & capabilities. | |
* | |
* CAUTION: | |
* USE THIS WITH THE DEVELOP BRANCH ON THE GITHUB REPOSITORY: | |
* https://github.com/aristath/kirki/tree/develop | |
* |