PHP code example of kodansha / killer-pads
1. Go to this page and download the library: Download kodansha/killer-pads 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/ */
kodansha / killer-pads example snippets
define('KILLER_PADS_NAMESPACE_WHITELIST', ['wp/v2', 'preview']);
define('KILLER_PADS_ADMIN_HOME_PAGE_PATH', "edit.php?post_type=page");
define('KILLER_PADS_ENABLE_COMMENTS', true);