PHP code example of metrictower / funnypot-wordpress
1. Go to this page and download the library: Download metrictower/funnypot-wordpress 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/ */
metrictower / funnypot-wordpress example snippets
define('HONEYPOT_WP_MAINNET_BASE_URL', 'https://mainnet.example'); // scheme+host only
define('HONEYPOT_WP_MAINNET_KEY', '…'); // a sensor-tier key
define('HONEYPOT_WP_RULES_AUTOUPDATE', true); // force corpus auto-update on/off
define('HONEYPOT_WP_RULES_DIR', '/var/lib/honeypot-wp-rules'); // corpus data dir (see below)