PHP code example of wordproof / wordpress-sdk
1. Go to this page and download the library: Download wordproof/wordpress-sdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wordproof / wordpress-sdk example snippets
use WordProof\SDK\WordPressSDK;
add_action('init', 'init_sdk');
function init_sdk() {
WordPressSDK('your-partner-slug', 'staging')->getInstance()->certificate()->initialize();
}
//Use in different parts of your application.
do_action('wordproof_authenticate');
do_action('wordproof_timestamp', $post);