PHP code example of bvdputte / kirby-autopublish
1. Go to this page and download the library: Download bvdputte/kirby-autopublish 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/ */
bvdputte / kirby-autopublish example snippets
'fieldName' => 'myautopublishfieldname',
'fieldNameUnpublish' => 'myAutoUnpublishFieldName'
// Enable poor man's cron
'bvdputte.autopublish.poormanscron' => true
'bvdputte.autopublish.poormanscron.interval' => 15
'bvdputte.autopublish.webhookToken' => 'my-secret-token'